| Package | Description | 
|---|---|
| com.sun.jini.landlord | 
 
This is a utility for services implementing leases. 
 | 
| com.sun.jini.mahalo | 
 Provides implementations of the 
TransactionManager service. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected long | 
FixedLeasePeriodPolicy.calculateDuration(LeasedResource resource,
                 long requestedDuration)
Returns the duration this policy is willing to grant for the passed resource at this time. 
 | 
LeasePeriodPolicy.Result | 
LeasePeriodPolicy.grant(LeasedResource resource,
     long requestedDuration)
Calculate the initial expiration and duration for a new lease. 
 | 
LeasePeriodPolicy.Result | 
FixedLeasePeriodPolicy.grant(LeasedResource resource,
     long requestedDuration)  | 
LeasePeriodPolicy.Result | 
LeasePeriodPolicy.renew(LeasedResource resource,
     long requestedDuration)
Calculate the expiration and duration for an existing lease that is being renewed. 
 | 
LeasePeriodPolicy.Result | 
FixedLeasePeriodPolicy.renew(LeasedResource resource,
     long requestedDuration)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
LeaseExpirationMgr.register(LeasedResource resource)  | 
void | 
LeaseManager.register(LeasedResource resource)
Notifies the manager of a new lease being created. 
 | 
void | 
LeaseExpirationMgr.renewed(LeasedResource resource)  | 
void | 
LeaseManager.renewed(LeasedResource resource)
Notifies the manager of a lease being renewed. 
 | 
Copyright © GigaSpaces.