| 
 | ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - the generic typepublic static interface ExtendedStatistics.Operation<T extends Enum<T>>
The Interface Operation.
| Method Summary | |
|---|---|
|  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. | 
| Method Detail | 
|---|
Class<T> type()
ExtendedStatistics.Result component(T result)
result - the result
ExtendedStatistics.Result compound(Set<T> results)
results - the results
ExtendedStatistics.Statistic<Double> ratioOf(Set<T> numerator,
                                             Set<T> denomiator)
numerator - the numeratordenomiator - the denomiator
void setAlwaysOn(boolean enable)
enable - the new always onboolean isAlwaysOn()
void setWindow(long time,
               TimeUnit unit)
time - the timeunit - the unit
void setHistory(int samples,
                long time,
                TimeUnit unit)
samples - the samplestime - the timeunit - the unitlong getWindowSize(TimeUnit unit)
unit - the unit
int getHistorySampleSize()
long getHistorySampleTime(TimeUnit unit)
unit - the unit
| 
 | ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||