public class SystemTimeFixedLeasePeriodPolicy extends FixedLeasePeriodPolicy
FixedLeasePeriodPolicy.currentTime()
by using SystemTime#timeMills()
LeasePeriodPolicy.Result
Constructor and Description |
---|
SystemTimeFixedLeasePeriodPolicy(long maximum,
long defaultLength) |
Modifier and Type | Method and Description |
---|---|
protected long |
currentTime()
Method that provides some notion of the current time in milliseconds since the beginning of
the epoch.
|
calculateDuration, grant, renew
public SystemTimeFixedLeasePeriodPolicy(long maximum, long defaultLength)
protected long currentTime()
FixedLeasePeriodPolicy
currentTime
in class FixedLeasePeriodPolicy
Copyright © GigaSpaces.