|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.integration.aggregator.AbstractMessageBarrier
org.springframework.integration.aggregator.AggregationBarrier
public class AggregationBarrier
MessageBarrier implementation for message aggregation. Delegates to a
CompletionStrategy
to determine when the group of messages is ready
for aggregation.
Field Summary | |
---|---|
protected CompletionStrategy |
completionStrategy
|
Fields inherited from class org.springframework.integration.aggregator.AbstractMessageBarrier |
---|
messages |
Constructor Summary | |
---|---|
AggregationBarrier(CompletionStrategy completionStrategy)
|
Method Summary | |
---|---|
protected boolean |
hasReceivedAllMessages()
Subclasses must implement this method to indicate if all possible messages that could be received by a given barrier have already been received (e.g. |
protected java.util.List<Message<?>> |
releaseAvailableMessages()
Subclasses must implement this method to return the messages that can be released by this barrier after the receipt of a given message. |
Methods inherited from class org.springframework.integration.aggregator.AbstractMessageBarrier |
---|
addAndRelease, addMessage, getMessages, getTimestamp, isComplete |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final CompletionStrategy completionStrategy
Constructor Detail |
---|
public AggregationBarrier(CompletionStrategy completionStrategy)
Method Detail |
---|
protected java.util.List<Message<?>> releaseAvailableMessages()
AbstractMessageBarrier
releaseAvailableMessages
in class AbstractMessageBarrier
protected boolean hasReceivedAllMessages()
AbstractMessageBarrier
hasReceivedAllMessages
in class AbstractMessageBarrier
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |