Lease

Undocumented in source.

Constructors

this
this()
Undocumented in source.

Members

Functions

Keys
string[] Keys()
Undocumented in source. Be warned that the author may not have intended to support it.
Remaining
long Remaining()
Undocumented in source. Be warned that the author may not have intended to support it.
RemainingTTL
int64 RemainingTTL()
Undocumented in source. Be warned that the author may not have intended to support it.
TTL
int64 TTL()
Undocumented in source. Be warned that the author may not have intended to support it.
expired
bool expired()
Undocumented in source. Be warned that the author may not have intended to support it.
forever
void forever()
Undocumented in source. Be warned that the author may not have intended to support it.
persistTo
void persistTo()
Undocumented in source. Be warned that the author may not have intended to support it.
refresh
void refresh(long extend)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

ID
LeaseID ID;
Undocumented in source.
_mutex
ReadWriteMutex _mutex;
Undocumented in source.
expiry
long expiry;
Undocumented in source.
expiryMu
Mutex expiryMu;
Undocumented in source.
itemSet
HashSet!string itemSet;
Undocumented in source.
remainingTTL
int64 remainingTTL;
Undocumented in source.
ttl
int64 ttl;
Undocumented in source.

Meta