public abstract class AbstractLeasedResource extends Object implements LeasedResource, Cloneable
Constructor and Description |
---|
AbstractLeasedResource() |
Modifier and Type | Method and Description |
---|---|
AbstractLeasedResource |
clone() |
AbstractLeasedResource |
renew(long expiration)
Returns a copy of the lease with a new expiration time.
|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCookie, getExpiration, setExpiration
public AbstractLeasedResource clone()
public AbstractLeasedResource renew(long expiration)
expiration
- The new expiration time in milliseconds
since the beginning of the epochCopyright © 2016–2018. All rights reserved.