|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.integration.aggregator.SequenceSizeReleaseStrategy
public class SequenceSizeReleaseStrategy
An implementation of ReleaseStrategy
that simply compares the current size of the message list to the
expected 'sequenceSize'.
Constructor Summary | |
---|---|
SequenceSizeReleaseStrategy()
|
|
SequenceSizeReleaseStrategy(boolean releasePartialSequences)
|
Method Summary | |
---|---|
boolean |
canRelease(MessageGroup messages)
|
void |
setReleasePartialSequences(boolean releasePartialSequences)
Flag that determines if partial sequences are allowed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SequenceSizeReleaseStrategy()
public SequenceSizeReleaseStrategy(boolean releasePartialSequences)
Method Detail |
---|
public void setReleasePartialSequences(boolean releasePartialSequences)
releasePartialSequences
- public boolean canRelease(MessageGroup messages)
canRelease
in interface ReleaseStrategy
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |