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)
void
refresh()
-
-
-
Constructor Detail
-
InterfaceToNodeCacheImpl
public InterfaceToNodeCacheImpl(InterfaceToNodeCache cache)
-
-
Method Detail
-
getNodeIds
public java.util.stream.Stream<Integer> getNodeIds(String location, InetAddress ipAddr)
- Specified by:
getNodeIds
in interfaceorg.opennms.integration.api.v1.dao.InterfaceToNodeCache
-
getFirstNodeId
public Optional<Integer> getFirstNodeId(String location, InetAddress ipAddr)
- Specified by:
getFirstNodeId
in interfaceorg.opennms.integration.api.v1.dao.InterfaceToNodeCache
-
refresh
public void refresh()
- Specified by:
refresh
in interfaceorg.opennms.integration.api.v1.dao.InterfaceToNodeCache
-
-