|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectequip.runtime.Object
equip.runtime.ValueBase
equip.data.Lease
equip.data.LeaseImpl
Implementation of IDL'd abstract class Lease; REQUIRES
synchronized clocks
| Field Summary |
| Fields inherited from class equip.data.Lease |
expireTime |
| Constructor Summary | |
LeaseImpl()
|
|
| Method Summary | |
boolean |
expired(Time now)
has the lease expired? |
void |
initFromTimeToLive(int timeToLive)
initialise relative to current time. |
| Methods inherited from class equip.data.Lease |
_equals_helper, _matches_helper, equals, getModuleName, matches, readObject, writeObject |
| Methods inherited from class equip.runtime.ValueBase |
_equals_helper, _matches_helper, clone |
| Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public LeaseImpl()
| Method Detail |
public void initFromTimeToLive(int timeToLive)
Lease
initFromTimeToLive in class LeasetimeToLive - time of lease, in seconds, from the current
timepublic boolean expired(Time now)
Lease
expired in class Leasenow - The time against which the lease is to be checked.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||