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 TypeMethodDescriptionvoidThis will cancel the lease and release the resource.voidContractLease.cancel()This will cancel the lease and release the resource.voidLease.cancel()This will cancel the lease and release the resource.longDetermines the duration remaining before the lease expires.longDetermines the duration remaining before the lease expires.voidThis method will establish a contract for the given duration.booleanThis method will establish a contract for a given resource.voidThis ensures that the contract is renewed for the duration on the contract, which may have changed since it was issued or last renewed.voidThis ensures that the leased resource is maintained for the specified number ofTimeUnitseconds.voidThis ensures that the leased resource is maintained for the specified number ofTimeUnitseconds.booleanThis revokes a contract that has previously been issued.