|
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(Object input)
Add the given value to the aggregator function |
Object |
aggregateResult()
Retrieve the final result |
AggregatorInstance<T> |
createClone()
Create a clone of this aggregator, detaching from its result |
Attribute<?> |
getAttribute()
Get the attribute to pass to aggregator |
Method Detail |
---|
void accept(Object input) throws AggregatorException
input
- a single input value
AggregatorException
- if the function cannot be computed, possibly due to unsupported typesObject aggregateResult()
Attribute<?> getAttribute()
AggregatorInstance<T> createClone()
|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |