edu.sc.seis.fissuresUtil.cache
Class DBCacheNetworkAccess
java.lang.Object
edu.sc.seis.fissuresUtil.cache.ProxyNetworkAccess
edu.sc.seis.fissuresUtil.cache.CacheNetworkAccess
edu.sc.seis.fissuresUtil.cache.DBCacheNetworkAccess
- All Implemented Interfaces:
- AuditSystemAccess, ConcreteNetworkAccessOperations, NetworkAccess, CorbaServerWrapper, java.io.Serializable, org.omg.CORBA.portable.IDLEntity
public class DBCacheNetworkAccess
- extends CacheNetworkAccess
A Cache NetworkAccess that also looks at the database for retrieval.
- See Also:
- Serialized Form
| Methods inherited from class edu.sc.seis.fissuresUtil.cache.ProxyNetworkAccess |
a_writeable, get_audit_trail_for_channel, get_audit_trail_for_site, get_audit_trail_for_station, get_audit_trail, getCorbaObject, getFullName, getNetworkAccess, getServerDNS, getServerName, getServerType, locate_channels, retrieve_all_channels, retrieve_calibrations, retrieve_channels_by_code, retrieve_grouping, retrieve_groupings, retrieve_time_corrections, setNetworkAccess, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
dbvnFinderCache
protected static java.util.HashMap<java.lang.String,VestingNetworkDC> dbvnFinderCache
DBCacheNetworkAccess
public DBCacheNetworkAccess(NetworkAttrImpl attr,
FissuresNamingService fisName)
DBCacheNetworkAccess
public DBCacheNetworkAccess(NetworkAccess netAccess,
NetworkAttrImpl attr)
retrieve_for_station
public Channel[] retrieve_for_station(StationId id)
- Description copied from class:
CacheNetworkAccess
- retreives the channels for the stations, but uses the cached copy if it
has been previously retrieved. The channels are also cleaned of duplicate
site objects to free memory.
- Specified by:
retrieve_for_station in interface NetworkAccess- Overrides:
retrieve_for_station in class CacheNetworkAccess
retrieve_stations
public Station[] retrieve_stations()
- Description copied from class:
CacheNetworkAccess
- retreives the stations for the network, but uses the cached copy if it
has been previously retrieved. The stations are also cleaned of duplicate
networkAttr objects to free memory.
- Specified by:
retrieve_stations in interface NetworkAccess- Overrides:
retrieve_stations in class CacheNetworkAccess
getNetDC
public static VestingNetworkDC getNetDC(NetworkAttrImpl attr,
FissuresNamingService fisName)