Public Member Functions | |
UniqueID () | |
Creates a new UniqueID. | |
java.rmi.dgc.VMID | getVMID () |
Returns the VMID of this UniqueID. | |
java.rmi.server.UID | getUID () |
Returns the UID part of this UniqueID. | |
String | toString () |
Returns a string representation of this UniqueID. | |
int | hashCode () |
Overrides hashCode to take into account the two part of this UniqueID. | |
boolean | equals (Object o) |
Overrides equals to take into account the two part of this UniqueID. | |
void | echo () |
for debug purpose | |
Static Public Member Functions | |
static java.rmi.dgc.VMID | getCurrentVMID () |
Returns the VMID of the current VM in which this class has been loaded. | |
Static Protected Attributes | |
static Logger | logger = ProActiveLogger.getLogger(Loggers.CORE) |
The UniqueID is used to identify object globally, even in case of migration.
Definition at line 50 of file UniqueID.java.
static java.rmi.dgc.VMID org.objectweb.proactive.core.UniqueID.getCurrentVMID | ( | ) | [static] |
Returns the VMID of the current VM in which this class has been loaded.
Definition at line 78 of file UniqueID.java.
java.rmi.dgc.VMID org.objectweb.proactive.core.UniqueID.getVMID | ( | ) |
Returns the VMID of this UniqueID.
Note that the VMID of one UniqueID may differ from the local VMID (that one can get using getCurrentVMID()
in case this UniqueID is attached to an object that has migrated.
Definition at line 92 of file UniqueID.java.
java.rmi.server.UID org.objectweb.proactive.core.UniqueID.getUID | ( | ) |
Returns the UID part of this UniqueID.
Definition at line 100 of file UniqueID.java.
String org.objectweb.proactive.core.UniqueID.toString | ( | ) |
Returns a string representation of this UniqueID.
Definition at line 108 of file UniqueID.java.
References org.objectweb.proactive.core.UniqueID.logger.
Referenced by org.objectweb.proactive.core.body.migration.MixedLocationServer.runActivity().
int org.objectweb.proactive.core.UniqueID.hashCode | ( | ) |
Overrides hashCode to take into account the two part of this UniqueID.
Definition at line 122 of file UniqueID.java.
Referenced by org.objectweb.proactive.core.component.representative.ItfID.hashCode(), and org.objectweb.proactive.core.body.BodyAdapterForwarder.hashCode().
boolean org.objectweb.proactive.core.UniqueID.equals | ( | Object | o | ) |
Overrides equals to take into account the two part of this UniqueID.
Definition at line 130 of file UniqueID.java.
Referenced by org.objectweb.proactive.core.component.representative.ItfID.equals().