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