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 voidclear()Should only be used for testing.voiddataSourceSync()Optional<Integer>getFirstNodeId(String location, InetAddress ipAddr)Iterable<Integer>getNodeId(String location, InetAddress ipAddr)voidremoveInterfacesForNode(int nodeId)booleanremoveNodeId(String location, InetAddress ipAddr, int nodeId)booleansetNodeId(String location, InetAddress ipAddr, int nodeId)intsize()
-
-
-
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)
-
-