|
GigaSpaces XAP 9.7.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.jini.mahalo.LeaseExpirationMgr
public class LeaseExpirationMgr
Lease Mgr implementation that aggressively expires leases as they expiration times occur. Synchronizes on resource before canceling it.
LeaseManager
Nested Class Summary | |
---|---|
static interface |
LeaseExpirationMgr.Expirer
Interface that allows LeaseExpirationMgr to expire resources. |
Method Summary | |
---|---|
void |
keyGC(Object value)
Called by WeakTable when it notices that a key has been collected and the value still exists. |
void |
register(LeasedResource resource)
Notifies the manager of a new lease being created. |
void |
renewed(LeasedResource resource)
Notifies the manager of a lease being renewed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void register(LeasedResource resource)
LeaseManager
register
in interface LeaseManager
resource
- The resource associated with the new Lease.public void renewed(LeasedResource resource)
LeaseManager
renewed
in interface LeaseManager
resource
- The resource associated with the new Lease.public void keyGC(Object value)
WeakTable.KeyGCHandler
keyGC
in interface WeakTable.KeyGCHandler
value
- The value associated with the collected key
|
GigaSpaces XAP 9.7.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |