|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.rmi.dgc.VMID
public final class VMID
An identifier that is unique accross the all virtual machines. This class is
used by distributed garbage collector to identify the virtual machine of
the client, but may also be used in various other cases, when such identifier
is required. This class separately stores and transfers the host IP
address, but will try to do its best also for the case if it failed to
determine it. The alternative algorithms are used in UID
that is
part of this class. The VMID's, created on the same host, but in the two
separately (parallely) running virtual machines are different.
Constructor Summary | |
---|---|
VMID()
Create the new VMID. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
Returns true if the passed parameter is also VMID and it is equal to this VMID. |
int |
hashCode()
Get the hash code of this VMID. |
static boolean |
isUnique()
Deprecated. VMID's are more or less always reliable. |
String |
toString()
Get the string representation of this VMID. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public VMID()
Method Detail |
---|
public static boolean isUnique()
public int hashCode()
hashCode
in class Object
Object.equals(Object)
,
System.identityHashCode(Object)
public boolean equals(Object obj)
equals
in class Object
obj
- the Object to compare to
Object.hashCode()
public String toString()
toString
in class Object
Object.getClass()
,
Object.hashCode()
,
Class.getName()
,
Integer.toHexString(int)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |