|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.camel.model.config.ResequencerConfig org.apache.camel.model.config.BatchResequencerConfig
public class BatchResequencerConfig
Defines the configuration parameters for the batch-processing
Resequencer
. Usage example:
Constructor Summary | |
---|---|
BatchResequencerConfig()
Creates a new BatchResequencerConfig instance using default
values for batchSize (100) and batchTimeout
(1000L). |
|
BatchResequencerConfig(int batchSize,
long batchTimeout)
Creates a new BatchResequencerConfig instance using the given
values for batchSize and batchTimeout . |
Method Summary | |
---|---|
Boolean |
getAllowDuplicates()
|
int |
getBatchSize()
|
long |
getBatchTimeout()
|
static BatchResequencerConfig |
getDefault()
Returns a new BatchResequencerConfig instance using default
values for batchSize (100) and batchTimeout
(1000L). |
Boolean |
getIgnoreInvalidExchanges()
|
Boolean |
getReverse()
|
boolean |
isAllowDuplicates()
|
boolean |
isReverse()
|
void |
setAllowDuplicates(Boolean allowDuplicates)
|
void |
setBatchSize(int batchSize)
|
void |
setBatchTimeout(long batchTimeout)
|
void |
setIgnoreInvalidExchanges(Boolean ignoreInvalidExchanges)
|
void |
setReverse(Boolean reverse)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BatchResequencerConfig()
BatchResequencerConfig
instance using default
values for batchSize
(100) and batchTimeout
(1000L).
public BatchResequencerConfig(int batchSize, long batchTimeout)
BatchResequencerConfig
instance using the given
values for batchSize
and batchTimeout
.
batchSize
- size of the batch to be re-ordered.batchTimeout
- timeout for collecting elements to be re-ordered.Method Detail |
---|
public static BatchResequencerConfig getDefault()
BatchResequencerConfig
instance using default
values for batchSize
(100) and batchTimeout
(1000L).
BatchResequencerConfig
.public int getBatchSize()
public void setBatchSize(int batchSize)
public long getBatchTimeout()
public void setBatchTimeout(long batchTimeout)
public boolean isAllowDuplicates()
public Boolean getAllowDuplicates()
public void setAllowDuplicates(Boolean allowDuplicates)
public boolean isReverse()
public Boolean getReverse()
public void setReverse(Boolean reverse)
public Boolean getIgnoreInvalidExchanges()
public void setIgnoreInvalidExchanges(Boolean ignoreInvalidExchanges)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |