Chapter 15. The java.rmi.dgc PackageThe java.rmi.dgc package contains an interface and two classes that support distributed garbage collection in RMI. Distributed garbage collection is normally handled automatically by the RMI system, so most applications do not need to use this package. Figure 15-1 shows the class hierarchy for this package. Figure 15-1. The java.dgc.activation package
This interface provides an abstraction for the server side of distributed garbage collection, using the notion of dirty and clean calls.
Hierarchy: (DGC(Remote))
This class encapsulates a unique virtual machine identifier and a lease duration that manages garbage collection of distributed objects.
Hierarchy: Object-->Lease(Serializable) Passed To: DGC.dirty() Returned By: DGC.dirty()
This class represents a virtual machine identifier that is unique across all Java virtual machines.
Hierarchy: Object-->VMID(Serializable) Passed To: DGC.clean(), Lease.Lease() Returned By: Lease.getVMID() Copyright © 2001 O'Reilly & Associates. All rights reserved. |
|