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()
aicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2019 aicas GmbH. All Rights Reserved.