org.terracotta.statistics.extended
Interface SampledStatistic<T extends Number>

All Known Implementing Classes:
ExpiringSampledStatistic, RateImpl, SemiExpiringSampledStatistic

public interface SampledStatistic<T extends Number>

Author:
Ludovic Orban

Method Summary
 boolean active()
          Active.
 List<Timestamped<T>> history()
          History.
 List<Timestamped<T>> history(long since)
          History, from a given time in ms
 SampleType type()
           
 T value()
          Value.
 

Method Detail

active

boolean active()
Active.

Returns:
true, if successful

value

T value()
Value.

Returns:
the t

history

List<Timestamped<T>> history()
History.

Returns:
the list

history

List<Timestamped<T>> history(long since)
History, from a given time in ms

Parameters:
since - starting point of history in ms
Returns:
the list

type

SampleType type()


Copyright © 2016. All rights reserved.