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:
- edu.iris.Fissures.AuditSystemAccess, edu.iris.Fissures.IfNetwork.ConcreteNetworkAccessOperations, edu.iris.Fissures.IfNetwork.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
Method Summary |
static VestingNetworkDC |
getNetDC(edu.iris.Fissures.network.NetworkAttrImpl attr,
FissuresNamingService fisName)
|
edu.iris.Fissures.IfNetwork.Channel[] |
retrieve_for_station(edu.iris.Fissures.IfNetwork.StationId id)
retreives the channels for the stations, but uses the cached copy if it
has been previously retrieved. |
edu.iris.Fissures.IfNetwork.Station[] |
retrieve_stations()
retreives the stations for the network, but uses the cached copy if it
has been previously retrieved. |
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(edu.iris.Fissures.network.NetworkAttrImpl attr,
FissuresNamingService fisName)
DBCacheNetworkAccess
public DBCacheNetworkAccess(edu.iris.Fissures.IfNetwork.NetworkAccess netAccess,
edu.iris.Fissures.network.NetworkAttrImpl attr)
retrieve_for_station
public edu.iris.Fissures.IfNetwork.Channel[] retrieve_for_station(edu.iris.Fissures.IfNetwork.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 edu.iris.Fissures.IfNetwork.NetworkAccess
- Overrides:
retrieve_for_station
in class CacheNetworkAccess
retrieve_stations
public edu.iris.Fissures.IfNetwork.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 edu.iris.Fissures.IfNetwork.NetworkAccess
- Overrides:
retrieve_stations
in class CacheNetworkAccess
getNetDC
public static VestingNetworkDC getNetDC(edu.iris.Fissures.network.NetworkAttrImpl attr,
FissuresNamingService fisName)