public class MockInterfaceToNodeCache extends AbstractInterfaceToNodeCache
| Constructor and Description | 
|---|
MockInterfaceToNodeCache()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
clear()
Should only be used for testing. 
 | 
void | 
dataSourceSync()  | 
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()  | 
getFirstNodeId, getInstance, setInstancepublic boolean setNodeId(String location, InetAddress ipAddr, int nodeId)
public boolean removeNodeId(String location, InetAddress ipAddr, int nodeId)
public Iterable<Integer> getNodeId(String location, InetAddress ipAddr)
public void dataSourceSync()
public int size()
public void clear()
InterfaceToNodeCachepublic void removeInterfacesForNode(int nodeId)
Copyright © 2020. All rights reserved.