|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AggregationCollection
A Collection which aggregates exchanges together,
using a correlation Expression and a AggregationStrategy.
| Method Summary | |
|---|---|
boolean |
add(Exchange exchange)
Adds the given exchange to this collection |
void |
clear()
Clears this collection |
AggregationStrategy |
getAggregationStrategy()
Gets the aggregation strategy |
Expression |
getCorrelationExpression()
Gets the correlation expression |
Iterator<Exchange> |
iterator()
Gets the iterator to iterate this collection. |
void |
onAggregation(Object correlationKey,
Exchange newExchange)
A strategy method allowing derived classes such as PredicateAggregationCollection
to check to see if the aggregation has completed |
void |
setAggregationStrategy(AggregationStrategy aggregationStrategy)
Sets the aggregation strategy to be used |
void |
setCorrelationExpression(Expression correlationExpression)
Sets the correlation expression to be used |
int |
size()
Gets the size of this collection |
| Methods inherited from interface java.util.Collection |
|---|
addAll, contains, containsAll, equals, hashCode, isEmpty, remove, removeAll, retainAll, toArray, toArray |
| Method Detail |
|---|
Expression getCorrelationExpression()
void setCorrelationExpression(Expression correlationExpression)
AggregationStrategy getAggregationStrategy()
void setAggregationStrategy(AggregationStrategy aggregationStrategy)
boolean add(Exchange exchange)
add in interface Collection<Exchange>Iterator<Exchange> iterator()
iterator in interface Collection<Exchange>iterator in interface Iterable<Exchange>int size()
size in interface Collection<Exchange>void clear()
clear in interface Collection<Exchange>
void onAggregation(Object correlationKey,
Exchange newExchange)
PredicateAggregationCollection
to check to see if the aggregation has completed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||