Class InterfaceToNodeCacheImpl
- java.lang.Object
-
- org.opennms.features.apilayer.dao.InterfaceToNodeCacheImpl
-
- All Implemented Interfaces:
org.opennms.integration.api.v1.dao.InterfaceToNodeCache
public class InterfaceToNodeCacheImpl extends Object implements org.opennms.integration.api.v1.dao.InterfaceToNodeCache
-
-
Constructor Summary
Constructors Constructor Description InterfaceToNodeCacheImpl(InterfaceToNodeCache cache)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<Integer>getFirstNodeId(String location, InetAddress ipAddr)java.util.stream.Stream<Integer>getNodeIds(String location, InetAddress ipAddr)voidrefresh()
-
-
-
Constructor Detail
-
InterfaceToNodeCacheImpl
public InterfaceToNodeCacheImpl(InterfaceToNodeCache cache)
-
-
Method Detail
-
getNodeIds
public java.util.stream.Stream<Integer> getNodeIds(String location, InetAddress ipAddr)
- Specified by:
getNodeIdsin interfaceorg.opennms.integration.api.v1.dao.InterfaceToNodeCache
-
getFirstNodeId
public Optional<Integer> getFirstNodeId(String location, InetAddress ipAddr)
- Specified by:
getFirstNodeIdin interfaceorg.opennms.integration.api.v1.dao.InterfaceToNodeCache
-
refresh
public void refresh()
- Specified by:
refreshin interfaceorg.opennms.integration.api.v1.dao.InterfaceToNodeCache
-
-