Package org.opennms.netmgt.dao.api
Interface InterfaceToNodeCache
-
- All Known Implementing Classes:
AbstractInterfaceToNodeCache
,InterfaceToNodeCacheDaoImpl
,MockInterfaceToNodeCache
public interface InterfaceToNodeCache
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
InterfaceToNodeCache.Entry
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description void
clear()
Should only be used for testing.void
dataSourceSync()
Optional<InterfaceToNodeCache.Entry>
getFirst(String location, InetAddress ipAddr)
default Optional<Integer>
getFirstNodeId(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()
-
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.
-
getFirst
Optional<InterfaceToNodeCache.Entry> getFirst(String location, InetAddress ipAddr)
-
getFirstNodeId
default Optional<Integer> getFirstNodeId(String location, InetAddress ipAddr)
-
removeInterfacesForNode
void removeInterfacesForNode(int nodeId)
-
-