public abstract class AbstractInterfaceToNodeCache extends Object implements InterfaceToNodeCache
Constructor and Description |
---|
AbstractInterfaceToNodeCache() |
Modifier and Type | Method and Description |
---|---|
Optional<Integer> |
getFirstNodeId(String location,
InetAddress ipAddr) |
static InterfaceToNodeCache |
getInstance()
Deprecated.
Inject this value instead of using singleton access.
|
static void |
setInstance(InterfaceToNodeCache cache) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clear, dataSourceSync, getNodeId, removeInterfacesForNode, removeNodeId, setNodeId, size
public static void setInstance(InterfaceToNodeCache cache)
public static InterfaceToNodeCache getInstance()
public Optional<Integer> getFirstNodeId(String location, InetAddress ipAddr)
getFirstNodeId
in interface InterfaceToNodeCache
Copyright © 2021. All rights reserved.