public class InterfaceToNodeMap extends Object
Modifier and Type | Class and Description |
---|---|
static class |
InterfaceToNodeMap.LocationIpAddressKey |
Constructor and Description |
---|
InterfaceToNodeMap() |
Modifier and Type | Method and Description |
---|---|
int |
addManagedAddress(String location,
InetAddress address,
int nodeId) |
int |
getNodeId(String location,
InetAddress address) |
int |
removeManagedAddress(String location,
InetAddress address) |
void |
setManagedAddresses(Map<InterfaceToNodeMap.LocationIpAddressKey,Integer> addresses) |
int |
size() |
String |
toString() |
public int addManagedAddress(String location, InetAddress address, int nodeId)
public int removeManagedAddress(String location, InetAddress address)
public int size()
public int getNodeId(String location, InetAddress address)
public void setManagedAddresses(Map<InterfaceToNodeMap.LocationIpAddressKey,Integer> addresses)
Copyright © 2017. All rights reserved.