|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.terracotta.cluster.TerracottaNode
public class TerracottaNode
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
InetAddress |
getAddress()
Returns the IP address of the node. |
String |
getId()
Returns the unique string identifier that corresponds to the node. |
int |
hashCode()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public String getId()
ClusterNodeThis identifier is unique for the life-time of the cluster. However, if the cluster is completely shut down and brought back up again, these identifiers might be recycled.
getId in interface ClusterNode
public InetAddress getAddress()
throws UnknownHostException
ClusterNodeThis operation talks back to the server array the first time it's called. The result is cached for further use.
getAddress in interface ClusterNodeUnknownHostExceptionpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||