public abstract class MapsAdapterConfigManager extends Object implements MapsAdapterConfig
Abstract MapsAdapterConfigManager class.
| Constructor and Description |
|---|
MapsAdapterConfigManager()
Constructor for MapsAdapterConfigManager.
|
MapsAdapterConfigManager(InputStream reader,
String serverName,
boolean verifyServer)
Constructor for MapsAdapterConfigManager.
|
| Modifier and Type | Method and Description |
|---|---|
List<Cmap> |
getAllMaps()
getAllMaps
|
List<String> |
getAllPackageMatches(String ipaddr)
Returns a list of package names that the ip belongs to, null if none.
|
Map<String,List<Celement>> |
getCelements()
getCelements
|
MapsAdapterConfiguration |
getConfiguration()
Return the poller configuration object.
|
Map<String,Csubmap> |
getContainerMaps(String submapName)
getContainerMaps
|
Map<String,Celement> |
getElementByAddress(String ipaddr)
getElementByAddress
|
int |
getMapElementDimension()
getMapElementDimension
|
Lock |
getReadLock() |
Map<String,List<Csubmap>> |
getsubMaps()
getsubMaps
|
List<Csubmap> |
getSubMaps(String mapName)
getSubMaps
|
Lock |
getWriteLock() |
Iterable<String> |
includeURLs(Package pkg)
includeURLs
|
Iterable<Package> |
packages()
packages
|
void |
rebuildPackageIpListMap()
This method is used to rebuild the package against IP list mapping when
needed.
|
protected void |
reloadXML(InputStream reader)
reloadXML
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitupdatepublic MapsAdapterConfigManager(InputStream reader, String serverName, boolean verifyServer) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException, IOException
Constructor for MapsAdapterConfigManager.
reader - a InputStream object.verifyServer - a boolean.serverName - a String object.org.exolab.castor.xml.MarshalException - if any.org.exolab.castor.xml.ValidationException - if any.IOException - if any.public MapsAdapterConfigManager()
Constructor for MapsAdapterConfigManager.
public Lock getReadLock()
getReadLock in interface MapsAdapterConfigpublic Lock getWriteLock()
getWriteLock in interface MapsAdapterConfigprotected void reloadXML(InputStream reader) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException, IOException
reloadXML
reader - a InputStream object.org.exolab.castor.xml.MarshalException - if any.org.exolab.castor.xml.ValidationException - if any.IOException - if any.public List<String> getAllPackageMatches(String ipaddr)
ipaddr - the interface to checkpublic MapsAdapterConfiguration getConfiguration()
MapsAdapterConfiguration object.public List<Cmap> getAllMaps()
getAllMaps
getAllMaps in interface MapsAdapterConfigList object.public Map<String,Celement> getElementByAddress(String ipaddr)
getElementByAddress
getElementByAddress in interface MapsAdapterConfigipaddr - a String object.Map object.public List<Csubmap> getSubMaps(String mapName)
getSubMaps
getSubMaps in interface MapsAdapterConfigmapName - a String object.List object.public int getMapElementDimension()
getMapElementDimension
getMapElementDimension in interface MapsAdapterConfigpublic Map<String,Csubmap> getContainerMaps(String submapName)
getContainerMaps
getContainerMaps in interface MapsAdapterConfigsubmapName - a String object.Map object.public Map<String,List<Csubmap>> getsubMaps()
getsubMaps
getsubMaps in interface MapsAdapterConfigMap object.public Map<String,List<Celement>> getCelements()
getCelements
getCelements in interface MapsAdapterConfigMap object.public void rebuildPackageIpListMap()
rebuildPackageIpListMap in interface MapsAdapterConfigCopyright © 2015. All rights reserved.