Uses of Interface
com.sun.jini.landlord.LeasedResource
Packages that use LeasedResource
Package
Description
This is a utility for services implementing leases.
Provides implementations of the
TransactionManager service.
-
Uses of LeasedResource in com.sun.jini.landlord
Methods in com.sun.jini.landlord with parameters of type LeasedResourceModifier and TypeMethodDescriptionprotected longFixedLeasePeriodPolicy.calculateDuration(LeasedResource resource, long requestedDuration) Returns the duration this policy is willing to grant for the passed resource at this time.FixedLeasePeriodPolicy.grant(LeasedResource resource, long requestedDuration) LeasePeriodPolicy.grant(LeasedResource resource, long requestedDuration) Calculate the initial expiration and duration for a new lease.FixedLeasePeriodPolicy.renew(LeasedResource resource, long requestedDuration) LeasePeriodPolicy.renew(LeasedResource resource, long requestedDuration) Calculate the expiration and duration for an existing lease that is being renewed. -
Uses of LeasedResource in com.sun.jini.mahalo
Methods in com.sun.jini.mahalo with parameters of type LeasedResourceModifier and TypeMethodDescriptionvoidLeaseExpirationMgr.register(LeasedResource resource) voidLeaseManager.register(LeasedResource resource) Notifies the manager of a new lease being created.voidLeaseExpirationMgr.renewed(LeasedResource resource) voidLeaseManager.renewed(LeasedResource resource) Notifies the manager of a lease being renewed.