| |
|
| java.lang.Object java.rmi.dgc.Lease
Lease | final public class Lease implements java.io.Serializable(Code) | | A lease contains a unique VM identifier and a lease duration. A
Lease object is used to request and grant leases to remote object
references.
|
Constructor Summary | |
public | Lease(VMID id, long duration) Constructs a lease with a specific VMID and lease duration. |
Method Summary | |
public VMID | getVMID() Returns the client VMID associated with the lease. | public long | getValue() Returns the lease duration. |
Lease | public Lease(VMID id, long duration)(Code) | | Constructs a lease with a specific VMID and lease duration. The
vmid may be null.
Parameters: id - VMID associated with this lease Parameters: duration - lease duration |
getVMID | public VMID getVMID()(Code) | | Returns the client VMID associated with the lease.
client VMID |
getValue | public long getValue()(Code) | | Returns the lease duration.
lease duration |
|
|
|