Top Methods
org.terracotta.statistics.extended

public Interface SampledStatistic<T extends java.lang.Number>

Known Direct Implementers
org.terracotta.statistics.extended.AbstractSampledStatistic, org.terracotta.statistics.extended.NullCompoundOperation.NullSampledStatistic, org.terracotta.statistics.extended.RateImpl
Imports
org.terracotta.statistics.archive.Timestamped, java.util.List

Author
Ludovic Orban

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

true, if successful
active
()

Active.

public List<Timestamped<T>>

Returns:

the list
history
()

History.

public List<Timestamped<T>>

Returns:

the list
history
(long
starting point of history in ms
since
)

History, from a given time in ms

public StatisticType
type()

public T

Returns:

the t
value
()

Value.

Method Detail

activeback to summary
public boolean active()

Active.

Returns:boolean

true, if successful

historyback to summary
public List<Timestamped<T>> history()

History.

Returns:List<Timestamped<T>>

the list

historyback to summary
public List<Timestamped<T>> history(long since)

History, from a given time in ms

Parameters
since:long

starting point of history in ms

Returns:List<Timestamped<T>>

the list

typeback to summary
public StatisticType type()
valueback to summary
public T value()

Value.

Returns:T

the t