public class NetworkFinder extends AbstractNetworkSource
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<CacheNetworkAccess> |
byNameCache |
protected java.lang.String |
dns |
protected VestingNetworkDC |
netDC |
protected java.util.List<CacheNetworkAccess> |
recentNetworksCache |
constraints, REFRESH_ELEMENT, refreshIntervalname, NAME_ELEMENT, RETRIES_ELEMENT| Constructor and Description |
|---|
NetworkFinder(org.w3c.dom.Element config) |
NetworkFinder(java.lang.String dns,
java.lang.String name,
int retries) |
| Modifier and Type | Method and Description |
|---|---|
protected CacheNetworkAccess |
checkCache(NetworkId netId) |
protected java.util.List<ChannelImpl> |
checkStationTimeOverlap(StationImpl station,
Channel[] inChannels) |
java.util.List<ChannelImpl> |
getChannels(StationImpl station) |
java.lang.String |
getDNS()
returns the DNSName of the server.
|
Instrumentation |
getInstrumentation(ChannelImpl chan) |
CacheNetworkAccess |
getNetwork(NetworkAttrImpl attr) |
CacheNetworkAccess |
getNetwork(NetworkId netId) |
java.util.List<CacheNetworkAccess> |
getNetworkByName(java.lang.String name) |
ProxyNetworkDC |
getNetworkDC() |
java.util.List<? extends NetworkAttrImpl> |
getNetworks() |
java.util.List<CacheNetworkAccess> |
getNetworksInternal() |
QuantityImpl |
getSensitivity(ChannelImpl chan) |
java.util.List<StationImpl> |
getStations(NetworkAttrImpl netId) |
void |
reset() |
getRefreshInterval, setConstraintsappendToName, getFissuresNamingService, getName, getRetries, getRetryStrategy, setRetryStrategyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRetries, getRetryStrategyappendToName, getNameprotected java.lang.String dns
protected java.util.List<CacheNetworkAccess> recentNetworksCache
protected java.util.List<CacheNetworkAccess> byNameCache
protected VestingNetworkDC netDC
public NetworkFinder(java.lang.String dns,
java.lang.String name,
int retries)
public NetworkFinder(org.w3c.dom.Element config)
throws java.lang.Exception
java.lang.Exceptionpublic ProxyNetworkDC getNetworkDC()
public CacheNetworkAccess getNetwork(NetworkAttrImpl attr)
public CacheNetworkAccess getNetwork(NetworkId netId)
public java.util.List<CacheNetworkAccess> getNetworkByName(java.lang.String name) throws NetworkNotFound
NetworkNotFoundpublic java.util.List<? extends NetworkAttrImpl> getNetworks()
public java.util.List<CacheNetworkAccess> getNetworksInternal()
public java.util.List<StationImpl> getStations(NetworkAttrImpl netId)
public java.util.List<ChannelImpl> getChannels(StationImpl station)
public Instrumentation getInstrumentation(ChannelImpl chan) throws ChannelNotFound, InvalidResponse
ChannelNotFoundInvalidResponsepublic QuantityImpl getSensitivity(ChannelImpl chan) throws ChannelNotFound, InvalidResponse
ChannelNotFoundInvalidResponsepublic java.lang.String getDNS()
String valueprotected java.util.List<ChannelImpl> checkStationTimeOverlap(StationImpl station, Channel[] inChannels)
protected CacheNetworkAccess checkCache(NetworkId netId)
public void reset()