public class CacheNode extends Object implements Serializable
Constructor and Description |
---|
CacheNode(String hostName,
String ipAddress,
int port) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getCacheKey() |
String |
getHostName() |
InetSocketAddress |
getInetSocketAddress() |
String |
getIpAddress() |
int |
getPort() |
int |
hashCode() |
void |
setHostName(String hostName) |
void |
setIpAddress(String ipAddress) |
void |
setPort(int port) |
String |
toString() |
public String getHostName()
public void setHostName(String hostName)
public InetSocketAddress getInetSocketAddress()
public String getIpAddress()
public void setIpAddress(String ipAddress)
public int getPort()
public void setPort(int port)
public String getCacheKey()
Copyright © 2021. All rights reserved.