public interface LeasedResource
LeasePeriodPolicy| Modifier and Type | Method and Description |
|---|---|
Uuid |
getCookie()
Returns the universally unique identifier associated with this lease.
|
long |
getExpiration()
Returns the expiration time of the lease.
|
void |
setExpiration(long newExpiration)
Changes the expiration time of the lease.
|
void setExpiration(long newExpiration)
newExpiration - The new expiration time in milliseconds since the beginning of the
epochlong getExpiration()
Uuid getCookie()
ReferentUuid should return this object from their getReferentUuid method and should base their implementation of
equals on this object.Copyright © GigaSpaces.