Name

Lease

Synopsis

A Lease represents a client’s lease on a remote object reference. It contains a unique VM identifier and the duration of the lease granted by the DGC.

                  
public final class Lease implements Serializable {
// Public Constructors
   public Lease( VMID id, long duration);  
// Public Instance Methods
   public long getValue();  
   public VMID getVMID();  
}

Passed To

DGC.dirty()

Returned By

DGC.dirty()

Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.