Uses of Class
org.simpleframework.common.lease.LeaseException
-
Packages that use LeaseException Package Description org.simpleframework.common.lease -
-
Uses of LeaseException in org.simpleframework.common.lease
Methods in org.simpleframework.common.lease that throw LeaseException Modifier and Type Method Description void
Lease. cancel()
This will cancel the lease and release the resource.long
Lease. getExpiry(java.util.concurrent.TimeUnit unit)
Determines the duration remaining before the lease expires.void
Lease. renew(long duration, java.util.concurrent.TimeUnit unit)
This ensures that the leased resource is maintained for the specified number ofTimeUnit
seconds.
-