java.rmi.dgc
public final class Lease extends Object implements Serializable
| Constructor Summary | |
|---|---|
| Lease(VMID id, long duration)
Create the new lease with the given id and duration
| |
| Method Summary | |
|---|---|
| long | getValue()
Get the lease duration
|
| VMID | getVMID()
Get the lease id.
|
| String | toString()
Get the string representation of this lease
|
Parameters: id the lease id duration the lease duration
Returns: the lease duration
Returns: the lease id
Returns: the string represenation (lease id, followed by the lease duration).