|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.gigaspaces.grid.master.Identity
public class Identity
The Identity shall provide a universally unique identifier for jobs and tasks within a grid.
Field Summary | |
---|---|
protected int |
_hashCode
|
protected net.jini.id.Uuid |
_id
|
Constructor Summary | |
---|---|
Identity()
Creates a new Identity with the 128-bit value. |
|
Identity(java.lang.String id)
Creates a new Identity with the 128-bit value
represented by the specified string. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Compares the specified object with this Identity for equality. |
net.jini.id.Uuid |
getUuid()
Get the unique identifier |
int |
hashCode()
Returns the hash code value for this Identity . |
static Identity |
newInstance()
|
java.lang.String |
toString()
Return a String representation of the Identity object |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected net.jini.id.Uuid _id
protected int _hashCode
Constructor Detail |
---|
public Identity()
Identity
with the 128-bit value.
public Identity(java.lang.String id)
Identity
with the 128-bit value
represented by the specified string.
Method Detail |
---|
public static Identity newInstance()
public net.jini.id.Uuid getUuid()
public boolean equals(java.lang.Object obj)
Identity
for equality.
equals
in class java.lang.Object
obj
- - The object to compare this Identity
true
if the given object is equivalent to this one,
and false
otherwisepublic int hashCode()
Identity
.
hashCode
in class java.lang.Object
public java.lang.String toString()
Identity
object
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |