Class PeerID<T extends Serializable>
- java.lang.Object
-
- com.sun.enterprise.ee.cms.impl.base.PeerID<T>
-
- All Implemented Interfaces:
Serializable,Comparable<PeerID>
public class PeerID<T extends Serializable> extends Object implements Serializable, Comparable<PeerID>
This class is representative of the identifier of a memberuniqueIDis used in order to identify a unique member. According to a kind of transport layers,uniqueIDtype will be determined.- Author:
- Bongjae Chang
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static PeerID<Serializable>NULL_PEER_ID
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(PeerID other)booleanequals(Object other)StringgetGroupName()StringgetInstanceName()TgetUniqueID()inthashCode()StringtoString()
-
-
-
Field Detail
-
NULL_PEER_ID
public static final PeerID<Serializable> NULL_PEER_ID
-
-
Method Detail
-
getUniqueID
public T getUniqueID()
-
getGroupName
public String getGroupName()
-
getInstanceName
public String getInstanceName()
-
compareTo
public int compareTo(PeerID other)
- Specified by:
compareToin interfaceComparable<T extends Serializable>
-
-