This documentation differs from the official API.
Jadeite adds
extra features to the API including:
variable font sizes,
constructions examples,
placeholders for classes and methods, and auto-generated “See Also” links.
Additionally it
is missing some items found in standard Javadoc documentation, including:
generics type information,
“Deprecated” tags and comments,
“See Also” links,
along with other minor differences.
Please send any questions or feedback to
bam@cs.cmu.edu.
java.rmi.dgc
class VMID
- All Implemented Interfaces:
- Serializable
-
Most common way to construct:
-
VMID vmid = new VMID();
Based on 11 examples
public final class VMID
extends Object
implements Serializable
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.
Constructor Summary |
Create a new VMID.
|
Method Summary |
boolean |
Compare this VMID to another, and return true if they are the
same identifier.
|
int |
Compute hash code for this VMID.
|
static boolean |
Return true if an accurate address can be determined for this
host.
|
String |
Return string representation of this VMID.
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VMID
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.
equals
public boolean equals(Object obj)
-
Compare this VMID to another, and return true if they are the
same identifier.
- Overrides:
equals
in class Object
- Parameters:
obj
hashCode
public int hashCode()
-
Compute hash code for this VMID.
- Overrides:
hashCode
in class Object
isUnique
public static boolean isUnique()
-
Return true if an accurate address can be determined for this
host. If false, reliable VMID cannot be generated from this host
- Returns:
- true if host address can be determined, false otherwise
toString
public String toString()
-
Return string representation of this VMID.
- Overrides:
toString
in class Object
This documentation differs from the official API.
Jadeite adds
extra features to the API including:
variable font sizes,
constructions examples,
placeholders for classes and methods, and auto-generated “See Also” links.
Additionally it
is missing some items found in standard Javadoc documentation, including:
generics type information,
“Deprecated” tags and comments,
“See Also” links,
along with other minor differences.
Please send any questions or feedback to
bam@cs.cmu.edu.
This page displays the
Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
The official Sun™ documentation can be found here at
http://java.sun.com/javase/6/docs/api/.