Package org.simpleframework.common.lease
-
Interface Summary Interface Description Cleaner<T> TheCleaner
represents an object that is used to clean up after the keyed resource.Contract<T> AContract
is used to represent the contract a lease has been issued.ContractController<T> TheContractController
forms the interface to the lease management system.Lease<T> TheLease
object is used to keep a keyed resource active.LeaseProvider<T> TheLeaseProvider
is used to issue a lease for a named resource. -
Class Summary Class Description ContractLease<T> TheContractLease
is used to maintain contracts by using a controller object.ContractMaintainer<T> TheContractMaintainer
is used provide a controller uses a cleaner.ContractQueue<T> TheContraceQueue
object is used to queue contracts between two asynchronous threads of execution.Expiration<T> AExpiration
is used to represent the expiration for a lease.LeaseCleaner<T> TheLeaseCleaner
provides a means of providing callbacks to clean a leased resource once the contract duration has expired.LeaseManager<T> TheLeaseManager
is used to issue a lease for a named resource.LeaseMap<T> TheLeaseMap
object is used to map lease keys to the lease objects managing those objects. -
Exception Summary Exception Description LeaseException TheLeaseException
is used to indicate that some operation failed when using the lease after the lease duration has expired.