W3cubDocs

/OpenJDK 21

Package java.rmi.dgc

package java.rmi.dgc
Provides classes and interface for RMI distributed garbage-collection (DGC). When the RMI server returns an object to its client (caller of the remote method), it tracks the remote object's usage in the client. When there are no more references to the remote object on the client, or if the reference's ``lease'' expires and not renewed, the server garbage-collects the remote object.
Since:
1.1
Class Description
DGC
The DGC abstraction is used for the server side of the distributed garbage collection algorithm.
Lease
A lease contains a unique VM identifier and a lease duration.
VMID
A VMID is a identifier that is unique across all Java virtual machines.

© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/java.rmi/java/rmi/dgc/package-summary.html