VMID (Java SE 15 & JDK 15) (original) (raw)

All Implemented Interfaces:

[Serializable](../../../../java.base/java/io/Serializable.html "interface in java.io")


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.

See Also:

Serialized Form

Constructors

Constructor Description
VMID() Create a new VMID.
Modifier and Type Method Description
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.