public class LeaseExpirationMgr extends Object implements LeaseManager, WeakTable.KeyGCHandler
LeaseManager| Modifier and Type | Class and Description | 
|---|---|
static interface  | 
LeaseExpirationMgr.Expirer
Interface that allows LeaseExpirationMgr to expire resources. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
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. 
 | 
public void register(LeasedResource resource)
LeaseManagerregister in interface LeaseManagerresource - The resource associated with the new Lease.public void renewed(LeasedResource resource)
LeaseManagerrenewed in interface LeaseManagerresource - The resource associated with the new Lease.public void keyGC(Object value)
WeakTable.KeyGCHandlerkeyGC in interface WeakTable.KeyGCHandlervalue - The value associated with the collected keyCopyright © GigaSpaces.