Uses of Interface
org.simpleframework.common.lease.Contract
Packages that use Contract
-
Uses of Contract in org.simpleframework.common.lease
Classes in org.simpleframework.common.lease that implement ContractModifier and TypeClassDescription(package private) class
Expiration<T>
AExpiration
is used to represent the expiration for a lease.Fields in org.simpleframework.common.lease declared as ContractModifier and TypeFieldDescriptionContractLease.contract
This is the contract object representing the lease.Methods in org.simpleframework.common.lease with parameters of type ContractModifier and TypeMethodDescriptionvoid
This will cancel the lease and release the resource.void
This will cancel the lease and release the resource.void
This method will establish a contract for the given duration.void
This method will establish a contract for the given duration.boolean
This method will establish a contract for a given resource.void
This ensures that the contract is renewed for the duration on the contract, which may have changed since it was issued or last renewed.void
This ensures that the contract is renewed for the duration on the contract, which may have changed since it was issued or last renewed.boolean
This revokes a contract that has previously been issued.Constructors in org.simpleframework.common.lease with parameters of type ContractModifierConstructorDescriptionContractLease
(ContractController<T> handler, Contract<T> contract) Constructor for theContractLease
object.