Package org.simpleframework.common.lease
-
Interface Summary Interface Description Cleaner<T> TheCleanerrepresents an object that is used to clean up after the keyed resource.Contract<T> AContractis used to represent the contract a lease has been issued.ContractController<T> TheContractControllerforms the interface to the lease management system.Lease<T> TheLeaseobject is used to keep a keyed resource active.LeaseProvider<T> TheLeaseProvideris used to issue a lease for a named resource. -
Class Summary Class Description ContractLease<T> TheContractLeaseis used to maintain contracts by using a controller object.ContractMaintainer<T> TheContractMaintaineris used provide a controller uses a cleaner.ContractQueue<T> TheContraceQueueobject is used to queue contracts between two asynchronous threads of execution.Expiration<T> AExpirationis used to represent the expiration for a lease.LeaseCleaner<T> TheLeaseCleanerprovides a means of providing callbacks to clean a leased resource once the contract duration has expired.LeaseManager<T> TheLeaseManageris used to issue a lease for a named resource.LeaseMap<T> TheLeaseMapobject is used to map lease keys to the lease objects managing those objects. -
Exception Summary Exception Description LeaseException TheLeaseExceptionis used to indicate that some operation failed when using the lease after the lease duration has expired.