Package org.opennms.netmgt.dao.api
Class AbstractInterfaceToNodeCache
- java.lang.Object
-
- org.opennms.netmgt.dao.api.AbstractInterfaceToNodeCache
-
- All Implemented Interfaces:
InterfaceToNodeCache
- Direct Known Subclasses:
InterfaceToNodeCacheDaoImpl
,MockInterfaceToNodeCache
public abstract class AbstractInterfaceToNodeCache extends Object implements InterfaceToNodeCache
This class represents a singular instance that is used to map trap IP addresses to known nodes.- Author:
- Johan Edstrom, Brian Weaver , Tarus Balog , OpenNMS
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.opennms.netmgt.dao.api.InterfaceToNodeCache
InterfaceToNodeCache.Entry
-
-
Constructor Summary
Constructors Constructor Description AbstractInterfaceToNodeCache()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static InterfaceToNodeCache
getInstance()
Deprecated.Inject this value instead of using singleton access.static void
setInstance(InterfaceToNodeCache cache)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opennms.netmgt.dao.api.InterfaceToNodeCache
clear, dataSourceSync, getFirst, getFirstNodeId, removeInterfacesForNode, removeNodeId, setNodeId, size
-
-
-
-
Method Detail
-
setInstance
public static void setInstance(InterfaceToNodeCache cache)
-
getInstance
public static InterfaceToNodeCache getInstance()
Deprecated.Inject this value instead of using singleton access.
-
-