|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.proactive.core.UniqueID
public class UniqueID
UniqueID is a unique object identifier across all jvm. It is made of a unique VMID combined with a unique UID on that VM.
The UniqueID is used to identify object globally, even in case of migration.
Field Summary | |
---|---|
protected static org.apache.log4j.Logger |
logger
|
Constructor Summary | |
---|---|
UniqueID()
Creates a new UniqueID |
Method Summary | |
---|---|
void |
echo()
for debug purpose |
boolean |
equals(java.lang.Object o)
Overrides equals to take into account the two part of this UniqueID. |
static java.rmi.dgc.VMID |
getCurrentVMID()
Returns the VMID of the current VM in which this class has been loaded. |
java.rmi.server.UID |
getUID()
Returns the UID part of this UniqueID. |
java.rmi.dgc.VMID |
getVMID()
Returns the VMID of this UniqueID. |
int |
hashCode()
Overrides hashCode to take into account the two part of this UniqueID. |
java.lang.String |
toString()
Returns a string representation of this UniqueID. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected static org.apache.log4j.Logger logger
Constructor Detail |
---|
public UniqueID()
Method Detail |
---|
public static java.rmi.dgc.VMID getCurrentVMID()
public java.rmi.dgc.VMID getVMID()
getCurrentVMID()
in case
this UniqueID is attached to an object that has migrated.
public java.rmi.server.UID getUID()
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public void echo()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |