net.esper.client
Class ConfigurationDBRef.ExpiryTimeCacheDesc

java.lang.Object
  extended by net.esper.client.ConfigurationDBRef.ExpiryTimeCacheDesc
All Implemented Interfaces:
ConfigurationDBRef.DataCacheDesc
Enclosing class:
ConfigurationDBRef

public class ConfigurationDBRef.ExpiryTimeCacheDesc
extends Object
implements ConfigurationDBRef.DataCacheDesc

Expiring cache settings.


Constructor Summary
ConfigurationDBRef.ExpiryTimeCacheDesc(double maxAgeSeconds, double purgeIntervalSeconds)
          Ctor.
 
Method Summary
 double getMaxAgeSeconds()
          Returns the maximum age in seconds.
 double getPurgeIntervalSeconds()
          Returns the purge interval length.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConfigurationDBRef.ExpiryTimeCacheDesc

public ConfigurationDBRef.ExpiryTimeCacheDesc(double maxAgeSeconds,
                                              double purgeIntervalSeconds)
Ctor.

Parameters:
maxAgeSeconds - is the maximum age in seconds
purgeIntervalSeconds - is the purge interval
Method Detail

getMaxAgeSeconds

public double getMaxAgeSeconds()
Returns the maximum age in seconds.

Returns:
number of seconds

getPurgeIntervalSeconds

public double getPurgeIntervalSeconds()
Returns the purge interval length.

Returns:
purge interval in seconds

toString

public String toString()
Overrides:
toString in class Object