|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - the runtime type of aggregation resultpublic interface AggregatorInstance<T>
An AggregatorInstance takes input objects and computes an aggregate function from them.
| Method Summary | |
|---|---|
void |
accept(java.lang.Object input)
Add the given value to the aggregator function |
java.lang.Object |
aggregateResult()
Retrieve the final result |
Attribute<?> |
getAttribute()
Get the attribute to pass to aggregator |
| Method Detail |
|---|
void accept(java.lang.Object input)
throws AggregatorException
input - a single input value
AggregatorException - if the function cannot be computed, possibly due to unsupported typesjava.lang.Object aggregateResult()
Attribute<?> getAttribute()
|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||