Package org.opennms.netmgt.dao.api
Interface InterfaceToNodeCache
-
- All Known Implementing Classes:
AbstractInterfaceToNodeCache
,InterfaceToNodeCacheDaoImpl
,MockInterfaceToNodeCache
public interface InterfaceToNodeCache
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
clear()
Should only be used for testing.void
dataSourceSync()
Optional<Integer>
getFirstNodeId(String location, InetAddress ipAddr)
Iterable<Integer>
getNodeId(String location, InetAddress ipAddr)
void
removeInterfacesForNode(int nodeId)
boolean
removeNodeId(String location, InetAddress ipAddr, int nodeId)
boolean
setNodeId(String location, InetAddress ipAddr, int nodeId)
int
size()
-
-
-
Method Detail
-
dataSourceSync
void dataSourceSync()
-
getNodeId
Iterable<Integer> getNodeId(String location, InetAddress ipAddr)
-
setNodeId
boolean setNodeId(String location, InetAddress ipAddr, int nodeId)
-
removeNodeId
boolean removeNodeId(String location, InetAddress ipAddr, int nodeId)
-
size
int size()
-
clear
void clear()
Should only be used for testing.
-
getFirstNodeId
Optional<Integer> getFirstNodeId(String location, InetAddress ipAddr)
-
removeInterfacesForNode
void removeInterfacesForNode(int nodeId)
-
-