| 
 | ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.ehcache.statistics.extended.RateStatistic<T>
T - the generic typepublic class RateStatistic<T extends Enum<T>>
The Class RateStatistic.
| Constructor Summary | |
|---|---|
| RateStatistic(org.terracotta.statistics.SourceStatistic<org.terracotta.statistics.observer.OperationObserver<T>> statistic,
              Set<T> targets,
              long averageNanos,
              ScheduledExecutorService executor,
              int historySize,
              long historyNanos)Instantiates a new rate statistic. | |
| Method Summary | |
|---|---|
|  boolean | active()Active. | 
|  List<org.terracotta.statistics.archive.Timestamped<T>> | history()History. | 
|  T | value()Value. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public RateStatistic(org.terracotta.statistics.SourceStatistic<org.terracotta.statistics.observer.OperationObserver<T>> statistic,
                     Set<T> targets,
                     long averageNanos,
                     ScheduledExecutorService executor,
                     int historySize,
                     long historyNanos)
statistic - the statistictargets - the targetsaverageNanos - the average nanosexecutor - the executorhistorySize - the history sizehistoryNanos - the history nanos| Method Detail | 
|---|
public final boolean active()
ExtendedStatistics.Statistic
active in interface ExtendedStatistics.Statistic<T extends Number>public T value()
ExtendedStatistics.Statistic
value in interface ExtendedStatistics.Statistic<T extends Number>public final List<org.terracotta.statistics.archive.Timestamped<T>> history()
ExtendedStatistics.Statistic
history in interface ExtendedStatistics.Statistic<T extends Number>| 
 | ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||