|
Préférences
Moteurs de recherche
|
||||||||||||
JavaTM 2 Platform Std. Ed. v1.6.0
java.rmi.dgc
|
Constructor Summary | |
---|---|
Lease(VMID id,
long duration)
Constructs a lease with a specific VMID and lease duration. |
Method Summary | |
---|---|
long |
getValue()
Returns the lease duration. |
VMID |
getVMID()
Returns the client VMID associated with the lease. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Lease(VMID id, long duration)
id
- VMID associated with this leaseduration
- lease durationMethod Detail |
---|
public VMID getVMID()
public long getValue()