org.terracotta.statistics.derived
Class MinMaxAverage

java.lang.Object
  extended by org.terracotta.statistics.derived.MinMaxAverage
All Implemented Interfaces:
ChainedEventObserver, ChainedObserver

public class MinMaxAverage
extends Object
implements ChainedEventObserver

Author:
cdennis

Constructor Summary
MinMaxAverage()
           
MinMaxAverage(Executor executor)
           
 
Method Summary
 void event(long time, long... parameters)
          Called to indicate an event happened.
 Long max()
           
 ValueStatistic<Long> maxStatistic()
           
 Double mean()
           
 ValueStatistic<Double> meanStatistic()
           
 Long min()
           
 ValueStatistic<Long> minStatistic()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MinMaxAverage

public MinMaxAverage()

MinMaxAverage

public MinMaxAverage(Executor executor)
Method Detail

event

public void event(long time,
                  long... parameters)
Description copied from interface: ChainedEventObserver
Called to indicate an event happened.

Specified by:
event in interface ChainedEventObserver

min

public Long min()

minStatistic

public ValueStatistic<Long> minStatistic()

mean

public Double mean()

meanStatistic

public ValueStatistic<Double> meanStatistic()

max

public Long max()

maxStatistic

public ValueStatistic<Long> maxStatistic()


Copyright © 2016. All Rights Reserved.