|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.rmi.dgc.VMID
A VMID is a identifier that is unique across all Java virtual machines. VMIDs are used by the distributed garbage collector to identify client VMs.
Field Summary | |
private byte[] |
addr
|
private static byte[] |
localAddr
array of bytes uniquely identifying this host |
private static long |
serialVersionUID
indicate compatibility with JDK 1.1.x version of class |
private UID |
uid
|
Constructor Summary | |
VMID()
Create a new VMID. |
Method Summary | |
private static byte[] |
computeAddressHash()
Compute the hash an IP address. |
boolean |
equals(Object obj)
Compare this VMID to another, and return true if they are the same identifier. |
int |
hashCode()
Compute hash code for this VMID. |
static boolean |
isUnique()
Deprecated. |
String |
toString()
Return string representation of this VMID. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
private static byte[] localAddr
private byte[] addr
private UID uid
private static final long serialVersionUID
Constructor Detail |
public VMID()
java.rmi.server.UID
are satisfied, and b) an
address can be obtained for this host that is unique and constant
for the lifetime of this object.
Method Detail |
public static boolean isUnique()
public int hashCode()
hashCode
in class Object
Object.equals(java.lang.Object)
,
Hashtable
public boolean equals(Object obj)
equals
in class Object
obj
- the reference object with which to compare.
true
if this object is the same as the obj
argument; false
otherwise.Object.hashCode()
,
Hashtable
public String toString()
toString
in class Object
private static byte[] computeAddressHash()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |