Package com.sun.jini.mahalo
Interface LeaseManager
- All Known Implementing Classes:
LeaseExpirationMgr
public interface LeaseManager
LeaseManager provides an interface for tracking lease status.- Author:
- Sun Microsystems, Inc.
-
Method Summary
Modifier and TypeMethodDescriptionvoidregister(LeasedResource resource) Notifies the manager of a new lease being created.voidrenewed(LeasedResource resource) Notifies the manager of a lease being renewed.
-
Method Details
-
register
Notifies the manager of a new lease being created.- Parameters:
resource- The resource associated with the new Lease.
-
renewed
Notifies the manager of a lease being renewed.- Parameters:
resource- The resource associated with the new Lease.
-