public class LeaseExpirationMgr extends Object implements LeaseManager, com.sun.jini.collection.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) |
void |
register(com.sun.jini.landlord.LeasedResource resource)
Notifies the manager of a new lease being created.
|
void |
renewed(com.sun.jini.landlord.LeasedResource resource)
Notifies the manager of a lease being renewed.
|
public void register(com.sun.jini.landlord.LeasedResource resource)
LeaseManager
register
in interface LeaseManager
resource
- The resource associated with the new Lease.public void renewed(com.sun.jini.landlord.LeasedResource resource)
LeaseManager
renewed
in interface LeaseManager
resource
- The resource associated with the new Lease.public void keyGC(Object value)
keyGC
in interface com.sun.jini.collection.WeakTable.KeyGCHandler
Copyright © GigaSpaces.