GigaSpaces XAP 10.0.1 API

com.sun.jini.landlord
Class SystemTimeFixedLeasePeriodPolicy

java.lang.Object
  extended by com.sun.jini.landlord.FixedLeasePeriodPolicy
      extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.sun.jini.landlord.LeasePeriodPolicy
LeasePeriodPolicy.Result
 
Constructor Summary
SystemTimeFixedLeasePeriodPolicy(long maximum, long defaultLength)
           
 
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 com.sun.jini.landlord.FixedLeasePeriodPolicy
calculateDuration, grant, renew
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemTimeFixedLeasePeriodPolicy

public SystemTimeFixedLeasePeriodPolicy(long maximum,
                                        long defaultLength)
Method Detail

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

GigaSpaces XAP 10.0.1 API

Copyright © GigaSpaces.