|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use LeaseException | |
|---|---|
| org.simpleframework.util.lease | |
| Uses of LeaseException in org.simpleframework.util.lease |
|---|
| Methods in org.simpleframework.util.lease that throw LeaseException | |
|---|---|
void |
Lease.cancel()
This will cancel the lease and release the resource. |
long |
Lease.getExpiry(TimeUnit unit)
Determines the duration remaining before the lease expires. |
void |
Lease.renew(long duration,
TimeUnit unit)
This ensures that the leased resource is maintained for the specified number of TimeUnit seconds. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||