|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface OperationStatistic<T extends Enum<T>>
| Method Summary | |
|---|---|
long |
count(T type)
Return the count of operations with the given type. |
ValueStatistic<Long> |
statistic(Set<T> results)
|
ValueStatistic<Long> |
statistic(T result)
Return a returning the count for the given result. |
long |
sum()
|
long |
sum(Set<T> types)
|
Class<T> |
type()
|
| Methods inherited from interface org.terracotta.statistics.observer.OperationObserver |
|---|
begin, end, end |
| Methods inherited from interface org.terracotta.statistics.SourceStatistic |
|---|
addDerivedStatistic, removeDerivedStatistic |
| Method Detail |
|---|
Class<T> type()
ValueStatistic<Long> statistic(T result)
result - the result of interest
ValueStatistic instanceValueStatistic<Long> statistic(Set<T> results)
long count(T type)
type - the result type
long sum(Set<T> types)
long sum()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||