public final class java.rmi.dgc
VMID


Show All Login
Java SE 6
  
Implements: Serializable
Details
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.
version1.21, 11/17/05

Constructors
public VMID()
Create a new VMID. Each new VMID returned from this constructor is unique for all Java virtual machines under the following conditions: a) the conditions for uniqueness for objects of the class 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.


Methods
public boolean equals(Object obj)
Compare this VMID to another, and return true if they are the same identifier.
public int hashCode()
Compute hash code for this VMID.
public String toString()
Return string representation of this VMID.

Properties
public static boolean
isUnique()
Details
Return true if an accurate address can be determined for this host. If false, reliable VMID cannot be generated from this host
returntrue if host address can be determined, false otherwise
deprecated