Class 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
    • 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()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • getNodeIds

        public java.util.stream.Stream<java.lang.Integer> getNodeIds​(java.lang.String location,
                                                                     java.net.InetAddress ipAddr)
        Specified by:
        getNodeIds in interface org.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 interface org.opennms.integration.api.v1.dao.InterfaceToNodeCache
      • refresh

        public void refresh()
        Specified by:
        refresh in interface org.opennms.integration.api.v1.dao.InterfaceToNodeCache