| Modifier and Type | Field and Description |
|---|---|
| private static final long | serialVersionUID
indicate compatibility with JDK 1.1.x version of class |
| private long | |
| private VMID |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public long | |
| public VMID |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID indicate compatibility with JDK 1.1.x version of class | |
| value | back to summary |
|---|---|
private long value
| |
| vmid | back to summary |
|---|---|
private VMID vmid
| |
| Lease | back to summary |
|---|---|
| public Lease(VMID id, long duration) Constructs a lease with a specific VMID and lease duration. The vmid may be null.
| |
| getValue | back to summary |
|---|---|
| public long getValue() Returns the lease duration.
| |
| getVMID | back to summary |
|---|---|
| public VMID getVMID() Returns the client VMID associated with the lease.
| |