public abstract class SimpleAbstractDistributedProcessCreationData extends Object implements ProcessCreationData
| Modifier and Type | Field and Description |
|---|---|
protected int |
batchSize |
protected static int |
DEFAULT_BATCH_SIZE |
protected static int |
DEFAULT_NUM_RETRIES |
protected String |
handlerId |
protected String |
nodeGroup |
protected int |
numOfRetries |
protected String |
processId |
protected Class<? extends SimpleDistributedProcessModel> |
processModelClass |
protected String |
scriptCode |
| Modifier | Constructor and Description |
|---|---|
protected |
SimpleAbstractDistributedProcessCreationData(String handlerId,
String processId,
String scriptCode,
String nodeGroup,
Integer batchSize,
Integer numOfRetries,
Class<? extends SimpleDistributedProcessModel> processModelClass) |
| Modifier and Type | Method and Description |
|---|---|
int |
getBatchSize() |
String |
getHandlerBeanId()
Responsible for returning spring bean id which will act as a
DistributedProcessHandler for created
process. |
String |
getNodeGroup()
Responsible for returning the node group, which may be assigned for the distributed process.
|
int |
getNumOfRetries() |
String |
getProcessId() |
Class<? extends SimpleDistributedProcessModel> |
getProcessModelClass() |
String |
getScriptCode() |
abstract Stream<? extends SimpleBatchCreationData> |
initialBatches()
Responsible for returning stream for creating initial batches used by distributed process.
|
protected static final int DEFAULT_BATCH_SIZE
protected static final int DEFAULT_NUM_RETRIES
protected final String processId
protected final String handlerId
protected final String scriptCode
protected final String nodeGroup
protected final int batchSize
protected final int numOfRetries
protected final Class<? extends SimpleDistributedProcessModel> processModelClass
public String getProcessId()
public int getNumOfRetries()
public int getBatchSize()
public String getScriptCode()
public Class<? extends SimpleDistributedProcessModel> getProcessModelClass()
public abstract Stream<? extends SimpleBatchCreationData> initialBatches()
ProcessCreationDatainitialBatches in interface ProcessCreationDatapublic String getHandlerBeanId()
ProcessCreationDataDistributedProcessHandler for created
process.getHandlerBeanId in interface ProcessCreationDatapublic String getNodeGroup()
ProcessCreationDatagetNodeGroup in interface ProcessCreationDataCopyright © 2017 SAP SE. All Rights Reserved.