public abstract class SingleThreadedStepController extends BaseStepController implements Controller
When a non-partitioned step is run this controller will be used as well (and there will be no separate main thread with controller).
| Modifier and Type | Field and Description |
|---|---|
protected javax.batch.api.partition.PartitionCollector |
collectorProxy |
analyzerStatusQueue, jobExecutionImpl, jobInstance, kernelService, persistenceManagerService, restartAfterCompletion, rootJobExecutionId, step, stepContext, stepName, stepStatus, transactionManager| Modifier | Constructor and Description |
|---|---|
protected |
SingleThreadedStepController(RuntimeJobExecution jobExecutionImpl,
Step step,
StepContextImpl stepContext,
long rootJobExecutionId,
BlockingQueue<PartitionDataWrapper> analyzerStatusQueue,
ServicesManager servicesManager) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
invokeCollectorIfPresent() |
protected void |
invokePostStepArtifacts() |
protected void |
invokePreStepArtifacts() |
protected void |
sendCollectorDataToAnalyzerIfPresent(Serializable data) |
protected void |
sendStatusFromPartitionToAnalyzerIfPresent() |
protected void |
setupStepArtifacts() |
execute, getLastRunStepExecutions, invokeCoreStep, isRestartExecution, markJobAndStepFailed, persistExitStatusAndEndTimestamp, persistUserData, resolveUserData, setParentStepContext, setStepContext, shouldStepBeExecuted, statusStarting, storeUserData, toString, updateBatchStatusclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetLastRunStepExecutions, stopprotected SingleThreadedStepController(RuntimeJobExecution jobExecutionImpl, Step step, StepContextImpl stepContext, long rootJobExecutionId, BlockingQueue<PartitionDataWrapper> analyzerStatusQueue, ServicesManager servicesManager)
protected void setupStepArtifacts()
setupStepArtifacts in class BaseStepControllerprotected void invokePreStepArtifacts()
invokePreStepArtifacts in class BaseStepControllerprotected void invokePostStepArtifacts()
invokePostStepArtifacts in class BaseStepControllerprotected void invokeCollectorIfPresent()
protected void sendCollectorDataToAnalyzerIfPresent(Serializable data)
protected void sendStatusFromPartitionToAnalyzerIfPresent()
sendStatusFromPartitionToAnalyzerIfPresent in class BaseStepControllerCopyright © 2023 The Apache Software Foundation. All rights reserved.