public class CollectionBasedCreationData extends SimpleAbstractDistributedProcessCreationData
| Modifier and Type | Class and Description |
|---|---|
static class |
CollectionBasedCreationData.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Collection<?> |
elements |
batchSize, DEFAULT_BATCH_SIZE, DEFAULT_NUM_RETRIES, handlerId, nodeGroup, numOfRetries, processId, processModelClass, scriptCode| Modifier | Constructor and Description |
|---|---|
protected |
CollectionBasedCreationData(String handlerId,
String processId,
String scriptCode,
String nodeGroup,
Integer batchSize,
Integer numOfRetries,
Collection<?> elements,
Class<? extends SimpleDistributedProcessModel> processModelClass) |
| Modifier and Type | Method and Description |
|---|---|
static CollectionBasedCreationData.Builder |
builder() |
Stream<? extends SimpleBatchCreationData> |
initialBatches()
Responsible for returning stream for creating initial batches used by distributed process.
|
getBatchSize, getHandlerBeanId, getNodeGroup, getNumOfRetries, getProcessId, getProcessModelClass, getScriptCodeprotected Collection<?> elements
protected CollectionBasedCreationData(String handlerId, String processId, String scriptCode, String nodeGroup, Integer batchSize, Integer numOfRetries, Collection<?> elements, Class<? extends SimpleDistributedProcessModel> processModelClass)
public Stream<? extends SimpleBatchCreationData> initialBatches()
ProcessCreationDatainitialBatches in interface ProcessCreationDatainitialBatches in class SimpleAbstractDistributedProcessCreationDatapublic static CollectionBasedCreationData.Builder builder()
Copyright © 2017 SAP SE. All Rights Reserved.