public interface InterfaceToNodeCache
Modifier and Type | Method and Description |
---|---|
void |
clear()
Should only be used for testing.
|
void |
dataSourceSync() |
Optional<Integer> |
getFirstNodeId(String location,
InetAddress ipAddr) |
Iterable<Integer> |
getNodeId(String location,
InetAddress ipAddr) |
void |
removeInterfacesForNode(int nodeId) |
boolean |
removeNodeId(String location,
InetAddress ipAddr,
int nodeId) |
boolean |
setNodeId(String location,
InetAddress ipAddr,
int nodeId) |
int |
size() |
void dataSourceSync()
Iterable<Integer> getNodeId(String location, InetAddress ipAddr)
boolean setNodeId(String location, InetAddress ipAddr, int nodeId)
boolean removeNodeId(String location, InetAddress ipAddr, int nodeId)
int size()
void clear()
Optional<Integer> getFirstNodeId(String location, InetAddress ipAddr)
void removeInterfacesForNode(int nodeId)
Copyright © 2021. All rights reserved.