public class SimpleDistributedProcessExecutionAnalysisContext extends java.lang.Object implements DistributedProcessHandler.ProcessExecutionAnalysisContext
| Modifier and Type | Field and Description |
|---|---|
protected DistributedProcessHandler.ProcessExecutionAnalysisContext |
concreteCtx |
protected DistributedProcessService |
distributedProcessService |
protected FlexibleSearchService |
flexibleSearchService |
protected ModelService |
modelService |
protected DistributedProcessModel |
process |
| Constructor and Description |
|---|
SimpleDistributedProcessExecutionAnalysisContext(FlexibleSearchService flexibleSearchService,
ModelService modelService,
DistributedProcessService distributedProcessService,
DistributedProcessModel process) |
| Modifier and Type | Method and Description |
|---|---|
protected long |
countBatches(java.lang.String countQuery) |
protected DistributedProcessHandler.ProcessExecutionAnalysisContext |
createConcreteCtx() |
java.util.stream.Stream<DistributedProcessHandler.ModelWithDependencies<BatchModel>> |
nextExecutionInputBatches() |
DistributedProcessHandler.ModelWithDependencies<DistributedProcessModel> |
prepareProcessForNextExecution() |
boolean |
processFailed() |
boolean |
processSucceeded() |
protected boolean |
thereAreUnfinishedBatches() |
protected boolean |
thereAreUnretryableBatches() |
protected final FlexibleSearchService flexibleSearchService
protected final ModelService modelService
protected final DistributedProcessService distributedProcessService
protected final DistributedProcessModel process
protected final DistributedProcessHandler.ProcessExecutionAnalysisContext concreteCtx
public SimpleDistributedProcessExecutionAnalysisContext(FlexibleSearchService flexibleSearchService, ModelService modelService, DistributedProcessService distributedProcessService, DistributedProcessModel process)
protected DistributedProcessHandler.ProcessExecutionAnalysisContext createConcreteCtx()
protected boolean thereAreUnfinishedBatches()
protected boolean thereAreUnretryableBatches()
protected long countBatches(java.lang.String countQuery)
public boolean processFailed()
processFailed in interface DistributedProcessHandler.ProcessExecutionAnalysisContextpublic boolean processSucceeded()
processSucceeded in interface DistributedProcessHandler.ProcessExecutionAnalysisContextpublic java.util.stream.Stream<DistributedProcessHandler.ModelWithDependencies<BatchModel>> nextExecutionInputBatches()
nextExecutionInputBatches in interface DistributedProcessHandler.ProcessExecutionAnalysisContextpublic DistributedProcessHandler.ModelWithDependencies<DistributedProcessModel> prepareProcessForNextExecution()
prepareProcessForNextExecution in interface DistributedProcessHandler.ProcessExecutionAnalysisContextCopyright © 2018 SAP SE. All Rights Reserved.