Uses of Class
org.simpleframework.common.lease.LeaseException
Packages that use LeaseException
-
Uses of LeaseException in org.simpleframework.common.lease
Methods in org.simpleframework.common.lease that throw LeaseExceptionModifier and TypeMethodDescriptionvoid
This will cancel the lease and release the resource.void
ContractLease.cancel()
This will cancel the lease and release the resource.void
Lease.cancel()
This will cancel the lease and release the resource.long
Determines the duration remaining before the lease expires.long
Determines the duration remaining before the lease expires.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 leased resource is maintained for the specified number ofTimeUnit
seconds.void
This ensures that the leased resource is maintained for the specified number ofTimeUnit
seconds.boolean
This revokes a contract that has previously been issued.