Module java.rmi

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
  • Related Packages
    Package
    Description
    Provides the RMI package.
    Deprecated.
    The RMI Activation mechanism has been deprecated and may be removed from a future version of the Java Platform.
    Provides a class and two interfaces for the RMI registry.
    Provides classes and interfaces for supporting the server side of RMI.
  • Interface Summary
    Interface
    Description
    The DGC abstraction is used for the server side of the distributed garbage collection algorithm.
  • Class Summary
    Class
    Description
    A lease contains a unique VM identifier and a lease duration.
    A VMID is a identifier that is unique across all Java virtual machines.