org.ehcache.management.config
Class EhcacheStatisticsProviderConfiguration

java.lang.Object
  extended by org.ehcache.management.config.EhcacheStatisticsProviderConfiguration
All Implemented Interfaces:
StatisticsProviderConfiguration

public class EhcacheStatisticsProviderConfiguration
extends java.lang.Object
implements StatisticsProviderConfiguration


Constructor Summary
EhcacheStatisticsProviderConfiguration(long averageWindowDuration, java.util.concurrent.TimeUnit averageWindowUnit, int historySize, long historyInterval, java.util.concurrent.TimeUnit historyIntervalUnit, long timeToDisable, java.util.concurrent.TimeUnit timeToDisableUnit)
           
 
Method Summary
 long averageWindowDuration()
           
 java.util.concurrent.TimeUnit averageWindowUnit()
           
 java.lang.Class<EhcacheStatisticsProvider> getStatisticsProviderType()
           
 long historyInterval()
           
 java.util.concurrent.TimeUnit historyIntervalUnit()
           
 int historySize()
           
 long timeToDisable()
           
 java.util.concurrent.TimeUnit timeToDisableUnit()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EhcacheStatisticsProviderConfiguration

public EhcacheStatisticsProviderConfiguration(long averageWindowDuration,
                                              java.util.concurrent.TimeUnit averageWindowUnit,
                                              int historySize,
                                              long historyInterval,
                                              java.util.concurrent.TimeUnit historyIntervalUnit,
                                              long timeToDisable,
                                              java.util.concurrent.TimeUnit timeToDisableUnit)
Method Detail

averageWindowDuration

public long averageWindowDuration()
Specified by:
averageWindowDuration in interface StatisticsProviderConfiguration

averageWindowUnit

public java.util.concurrent.TimeUnit averageWindowUnit()
Specified by:
averageWindowUnit in interface StatisticsProviderConfiguration

historySize

public int historySize()
Specified by:
historySize in interface StatisticsProviderConfiguration

historyInterval

public long historyInterval()
Specified by:
historyInterval in interface StatisticsProviderConfiguration

historyIntervalUnit

public java.util.concurrent.TimeUnit historyIntervalUnit()
Specified by:
historyIntervalUnit in interface StatisticsProviderConfiguration

timeToDisable

public long timeToDisable()
Specified by:
timeToDisable in interface StatisticsProviderConfiguration

timeToDisableUnit

public java.util.concurrent.TimeUnit timeToDisableUnit()
Specified by:
timeToDisableUnit in interface StatisticsProviderConfiguration

getStatisticsProviderType

public java.lang.Class<EhcacheStatisticsProvider> getStatisticsProviderType()
Specified by:
getStatisticsProviderType in interface StatisticsProviderConfiguration