T
- the generic typepublic static interface ExtendedStatistics.Operation<T extends Enum<T>>
Modifier and Type | Method and Description |
---|---|
ExtendedStatistics.Result |
component(T result)
Component.
|
ExtendedStatistics.Result |
compound(Set<T> results)
Compound.
|
int |
getHistorySampleSize()
Gets the history sample size.
|
long |
getHistorySampleTime(TimeUnit unit)
Gets the history sample time.
|
long |
getWindowSize(TimeUnit unit)
Gets the window size.
|
boolean |
isAlwaysOn()
Checks if is always on.
|
ExtendedStatistics.Statistic<Double> |
ratioOf(Set<T> numerator,
Set<T> denomiator)
Ratio of.
|
void |
setAlwaysOn(boolean enable)
Sets the always on.
|
void |
setHistory(int samples,
long time,
TimeUnit unit)
Sets the history.
|
void |
setWindow(long time,
TimeUnit unit)
Sets the window.
|
Class<T> |
type()
Type.
|
ExtendedStatistics.Result component(T result)
result
- the resultExtendedStatistics.Result compound(Set<T> results)
results
- the resultsExtendedStatistics.Statistic<Double> ratioOf(Set<T> numerator, Set<T> denomiator)
numerator
- the numeratordenomiator
- the denomiatorvoid setAlwaysOn(boolean enable)
enable
- the new always onboolean isAlwaysOn()
void setWindow(long time, TimeUnit unit)
time
- the timeunit
- the unitvoid setHistory(int samples, long time, TimeUnit unit)
samples
- the samplestime
- the timeunit
- the unitlong getWindowSize(TimeUnit unit)
unit
- the unitint getHistorySampleSize()
long getHistorySampleTime(TimeUnit unit)
unit
- the unitCopyright © 2003–2016 Terracotta, Inc.. All rights reserved.