com.sun.jini.landlord
Class SystemTimeFixedLeasePeriodPolicy
java.lang.Object
com.sun.jini.landlord.FixedLeasePeriodPolicy
com.sun.jini.landlord.SystemTimeFixedLeasePeriodPolicy
- All Implemented Interfaces:
- LeasePeriodPolicy
public class SystemTimeFixedLeasePeriodPolicy
- extends FixedLeasePeriodPolicy
Overrided FixedLeasePeriodPolicy.currentTime()
by using com.j_spaces.kernel.time.SystemTime#timeMills()
- Since:
- 9.5
- Author:
- Dan Kilman
Method Summary |
protected long |
currentTime()
Method that provides some notion of the current time in milliseconds
since the beginning of the epoch. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SystemTimeFixedLeasePeriodPolicy
public SystemTimeFixedLeasePeriodPolicy(long maximum,
long defaultLength)
currentTime
protected long currentTime()
- Description copied from class:
FixedLeasePeriodPolicy
- Method that provides some notion of the current time in milliseconds
since the beginning of the epoch. Default implementation
calls System.currentTimeMillis()
- Overrides:
currentTime
in class FixedLeasePeriodPolicy
Copyright © GigaSpaces.