|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.ehcache.statistics.extended.RatioStatistic
public class RatioStatistic
The Class RatioStatistic.
Constructor Summary | |
---|---|
RatioStatistic(ExtendedStatistics.Statistic<? extends Number> numerator,
ExtendedStatistics.Statistic<? extends Number> denominator,
ScheduledExecutorService executor,
int historySize,
long historyNanos)
Instantiates a new ratio statistic. |
Method Summary | |
---|---|
boolean |
active()
Active. |
List<org.terracotta.statistics.archive.Timestamped<T>> |
history()
History. |
Double |
value()
Value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RatioStatistic(ExtendedStatistics.Statistic<? extends Number> numerator, ExtendedStatistics.Statistic<? extends Number> denominator, ScheduledExecutorService executor, int historySize, long historyNanos)
numerator
- the numeratordenominator
- the denominatorexecutor
- the executorhistorySize
- the history sizehistoryNanos
- the history nanosMethod Detail |
---|
public Double value()
ExtendedStatistics.Statistic
value
in interface ExtendedStatistics.Statistic<Double>
public final boolean active()
ExtendedStatistics.Statistic
active
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 |