Package com.ibm.jbatch.container.impl
Class SingleThreadedStepControllerImpl
- java.lang.Object
-
- com.ibm.jbatch.container.impl.BaseStepControllerImpl
-
- com.ibm.jbatch.container.impl.SingleThreadedStepControllerImpl
-
- All Implemented Interfaces:
IController,IExecutionElementController
- Direct Known Subclasses:
BatchletStepControllerImpl,ChunkStepControllerImpl
public abstract class SingleThreadedStepControllerImpl extends BaseStepControllerImpl implements IController
When a partitioned step is run, this controller will only be used for the partition threads, NOT the top-level main thread that the step executes upon. When a non-partitioned step is run this controller will be used as well (and there will be no separate main thread with controller).
-
-
Field Summary
Fields Modifier and Type Field Description protected PartitionCollectorProxycollectorProxy-
Fields inherited from class com.ibm.jbatch.container.impl.BaseStepControllerImpl
_persistenceManagementService, analyzerStatusQueue, batchKernel, jobExecutionImpl, jobInstance, restartAfterCompletion, rootJobExecutionId, step, stepContext, stepName, stepStatus, transactionManager
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSingleThreadedStepControllerImpl(RuntimeJobExecution jobExecutionImpl, com.ibm.jbatch.jsl.model.Step step, StepContextImpl stepContext, long rootJobExecutionId, BlockingQueue<PartitionDataWrapper> analyzerStatusQueue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidinvokeCollectorIfPresent()protected voidinvokePostStepArtifacts()protected voidinvokePreStepArtifacts()protected voidsendCollectorDataToAnalyzerIfPresent(Serializable data)protected voidsendStatusFromPartitionToAnalyzerIfPresent()protected voidsetupStepArtifacts()-
Methods inherited from class com.ibm.jbatch.container.impl.BaseStepControllerImpl
execute, getAnalyzerQueue, getLastRunStepExecutions, invokeCoreStep, isRestartExecution, markJobAndStepFailed, persistExitStatusEndTimestampAndStepExecution, persistStepExecution, persistUserData, setAnalyzerQueue, setStepContext, shouldStepBeExecuted, statusStarting, toString, updateBatchStatus
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.ibm.jbatch.container.IController
getLastRunStepExecutions, stop
-
-
-
-
Field Detail
-
collectorProxy
protected PartitionCollectorProxy collectorProxy
-
-
Constructor Detail
-
SingleThreadedStepControllerImpl
protected SingleThreadedStepControllerImpl(RuntimeJobExecution jobExecutionImpl, com.ibm.jbatch.jsl.model.Step step, StepContextImpl stepContext, long rootJobExecutionId, BlockingQueue<PartitionDataWrapper> analyzerStatusQueue)
-
-
Method Detail
-
setupStepArtifacts
protected void setupStepArtifacts()
- Specified by:
setupStepArtifactsin classBaseStepControllerImpl
-
invokePreStepArtifacts
protected void invokePreStepArtifacts()
- Specified by:
invokePreStepArtifactsin classBaseStepControllerImpl
-
invokePostStepArtifacts
protected void invokePostStepArtifacts()
- Specified by:
invokePostStepArtifactsin classBaseStepControllerImpl
-
invokeCollectorIfPresent
protected void invokeCollectorIfPresent()
-
sendCollectorDataToAnalyzerIfPresent
protected void sendCollectorDataToAnalyzerIfPresent(Serializable data)
-
sendStatusFromPartitionToAnalyzerIfPresent
protected void sendStatusFromPartitionToAnalyzerIfPresent()
- Specified by:
sendStatusFromPartitionToAnalyzerIfPresentin classBaseStepControllerImpl
-
-