compact2

# Package java.rmi.dgc

Provides classes and interface for RMI distributed garbage-collection (DGC).

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  DGC | The DGC abstraction is used for the server side of the distributed garbage collection algorithm.

- Class Summary
  Class | Description
  --- | ---
  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.

## Package java.rmi.dgc Description

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:
  JDK1.1

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2017, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.