| Methods in org.simpleframework.util.lease that return Lease |
Lease<T> |
LeaseMap.get(Object key)
This is used to acquire the Lease object that is
mapped to the specified key. |
Lease<T> |
LeaseProvider.lease(T key,
long duration,
TimeUnit unit)
This method will issue a Lease object that
can be used to manage the release of a keyed resource. |
Lease<T> |
LeaseManager.lease(T key,
long duration,
TimeUnit unit)
This method will issue a Lease object that
can be used to manage the release of a keyed resource. |
Lease<T> |
LeaseMap.remove(Object key)
This is used to remove the Lease object that is
mapped to the specified key. |