public final class Lease extends Object implements Serializable
| Constructor and Description |
|---|
Lease(VMID id,
long duration)
Constructs a lease with a specific VMID and lease duration.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getValue()
Returns the lease duration.
|
VMID |
getVMID()
Returns the client VMID associated with the lease.
|
public Lease(VMID id, long duration)
id - VMID associated with this leaseduration - lease durationpublic VMID getVMID()
public long getValue()
Generated by SciJava from the sources of OpenJDK 8 (Zulu), which are licensed under the GNU General Public License, version 2, with the Classpath Exception. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.