Package | Description |
---|---|
org.simpleframework.common.lease |
Modifier and Type | Method and Description |
---|---|
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. |
Copyright © 2024. All rights reserved.