|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object context.arch.discoverer.lease.LeasesWatcher
This class is used to watch for all context components leases each xx time, as defined by Lease.TIME_SLOT_MILLIS, and then send to the LeasesKeeper object an Enumeration of all component index whose lease expires.
Field Summary | |
protected LeasesKeeper |
keeper
The LeasesKeeper object |
protected java.util.Vector |
leases
The vector containing the lease objects |
Constructor Summary | |
LeasesWatcher(LeasesKeeper leasesKeeper)
Creates new LeasesWatcher |
Method Summary | |
protected void |
finalize()
Stops the timer when this object is destroyed |
protected void |
putLeases(java.util.Hashtable currentLeases)
This method allows to copy the current leases into the object the LeasesWatcher will watch. |
protected void |
watchLeases()
|
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected LeasesKeeper keeper
protected java.util.Vector leases
Constructor Detail |
public LeasesWatcher(LeasesKeeper leasesKeeper)
Method Detail |
protected void finalize()
protected void watchLeases()
protected void putLeases(java.util.Hashtable currentLeases)
currentLeases
- The vector object containing the leases
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |