public static class EventProcessorProperties.ProcessorSettings extends Object
| Constructor and Description | 
|---|
ProcessorSettings()  | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
getBatchSize()
Returns the maximum size of a processing batch. 
 | 
int | 
getInitialSegmentCount()
Returns the number of initial segments that should be created, if no segments are already present. 
 | 
EventProcessorProperties.Mode | 
getMode()
Returns the type of processor to configure. 
 | 
String | 
getSequencingPolicy()
Returns the name of the bean that defines the Sequencing Policy for this processor. 
 | 
String | 
getSource()
Returns the name of the bean that should be used as source for Event Messages. 
 | 
int | 
getThreadCount()
Returns the number of threads to use to process Events, when in "tracking" mode. 
 | 
void | 
setBatchSize(int batchSize)
Sets the maximum size of a processing batch. 
 | 
void | 
setInitialSegmentCount(int initialSegmentCount)
Sets the number of initial segments that should be created, if no segments are already present. 
 | 
void | 
setMode(EventProcessorProperties.Mode mode)
Sets the type of processor that should be configured. 
 | 
void | 
setSequencingPolicy(String sequencingPolicy)
Sets the name of the bean that defines the Sequencing Policy for this processor. 
 | 
void | 
setSource(String source)
Sets the name of the bean that should be used as source for Event Messages. 
 | 
void | 
setThreadCount(int threadCount)
Sets the number of threads to use to process Events, when in "tracking" mode. 
 | 
public String getSource()
EventBus is used as source.public void setSource(String source)
source - the name of the bean that should be used as source for Event Messages.public EventProcessorProperties.Mode getMode()
public void setMode(EventProcessorProperties.Mode mode)
mode - the type of processor that should be configured.public int getInitialSegmentCount()
public void setInitialSegmentCount(int initialSegmentCount)
initialSegmentCount - the number of initial segments that should be created.public int getThreadCount()
public void setThreadCount(int threadCount)
threadCount - the number of threads to use to process Events.public int getBatchSize()
public void setBatchSize(int batchSize)
batchSize - the maximum size of a processing batch.public String getSequencingPolicy()
public void setSequencingPolicy(String sequencingPolicy)
sequencingPolicy - the name of the bean that defines the Sequencing Policy for this processor.Copyright © 2010–2018. All rights reserved.