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 |
FixedLeasePeriodPolicy.grant(LeasedResource resource,
long requestedDuration) |
LeasePeriodPolicy.Result |
LeasePeriodPolicy.grant(LeasedResource resource,
long requestedDuration)
Calculate the initial expiration and duration for a new lease.
|
LeasePeriodPolicy.Result |
FixedLeasePeriodPolicy.renew(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.
|
Modifier and Type | Method and Description |
---|---|
void |
LeaseManager.register(LeasedResource resource)
Notifies the manager of a new lease being created.
|
void |
LeaseExpirationMgr.register(LeasedResource resource) |
void |
LeaseManager.renewed(LeasedResource resource)
Notifies the manager of a lease being renewed.
|
void |
LeaseExpirationMgr.renewed(LeasedResource resource) |
Copyright © GigaSpaces.