| Home >> All >> java >> rmi >> [ dgc Javadoc ] |
java.rmi.dgc: Javadoc index of package java.rmi.dgc.
Package Samples:
java.rmi.dgc
Classes:
VMID: An identifier that is unique accross the all virtual machines. This class is used by distributed garbage collector to identify the virtual machine of the client, but may also be used in various other cases, when such identifier is required. This class separately stores and transfers the host IP address, but will try to do its best also for the case if it failed to determine it. The alternative algorithms are used in java.rmi.server.UID that is part of this class. The VMID's, created on the same host, but in the two separately (parallely) running virtual machines are different.
DGC: The DGC implementation is used for the server side during the distributed garbage collection. This interface contains the two methods: dirty and clean. A dirty call is made when a remote reference is unmarshaled in a client. A corresponding clean call is made by client it no longer uses that remote reference. A reference to a remote object is also automatically released after so called lease period that starts after the dirty call is received. It is the client's responsibility to renew the leases, by making additional dirty calls before such leases expire.
Lease: A lease object is used to request and grant leases for the remote objects. It contains the lease duration and the unique VM indentifier.
| Home | Contact Us | Privacy Policy | Terms of Service |