Package com.ibm.jbatch.container.impl
Class JobThreadRootControllerImpl
- java.lang.Object
-
- com.ibm.jbatch.container.impl.JobThreadRootControllerImpl
-
- All Implemented Interfaces:
IController,IThreadRootController
- Direct Known Subclasses:
FlowInSplitThreadRootControllerImpl,JobControllerImpl,PartitionThreadRootControllerImpl
public abstract class JobThreadRootControllerImpl extends Object implements IThreadRootController
-
-
Field Summary
Fields Modifier and Type Field Description protected JobContextImpljobContextprotected RuntimeJobExecutionjobExecutionprotected longjobInstanceIdprotected ModelNavigator<com.ibm.jbatch.jsl.model.JSLJob>jobNavigatorprotected IJobStatusManagerServicejobStatusServiceprotected IPersistenceManagerServicepersistenceServiceprotected longrootJobExecutionId
-
Constructor Summary
Constructors Constructor Description JobThreadRootControllerImpl(RuntimeJobExecution jobExecution, long rootJobExecutionId)JobThreadRootControllerImpl(RuntimeJobExecution jobExecution, long rootJobExecutionId, BlockingQueue<PartitionDataWrapper> analyzerQueue)JobThreadRootControllerImpl(RuntimeJobExecution jobExecution, BlockingQueue<PartitionDataWrapper> analyzerQueue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidbatchStatusFailedFromException()protected voidbatchStatusStopping()protected voidendOfJob()List<Long>getLastRunStepExecutions()protected voidjobListenersBeforeJob()protected voidjslStop()protected voidlogWarning(String msg, Throwable t)protected voidmarkJobStarted()ExecutionStatusoriginateExecutionOnThread()protected voidsetContextProperties()voidstop()protected voidupdateJobBatchStatus(jakarta.batch.runtime.BatchStatus batchStatus)
-
-
-
Field Detail
-
jobExecution
protected RuntimeJobExecution jobExecution
-
jobContext
protected JobContextImpl jobContext
-
rootJobExecutionId
protected long rootJobExecutionId
-
jobInstanceId
protected long jobInstanceId
-
jobStatusService
protected IJobStatusManagerService jobStatusService
-
persistenceService
protected IPersistenceManagerService persistenceService
-
jobNavigator
protected final ModelNavigator<com.ibm.jbatch.jsl.model.JSLJob> jobNavigator
-
-
Constructor Detail
-
JobThreadRootControllerImpl
public JobThreadRootControllerImpl(RuntimeJobExecution jobExecution, long rootJobExecutionId)
-
JobThreadRootControllerImpl
public JobThreadRootControllerImpl(RuntimeJobExecution jobExecution, long rootJobExecutionId, BlockingQueue<PartitionDataWrapper> analyzerQueue)
-
JobThreadRootControllerImpl
public JobThreadRootControllerImpl(RuntimeJobExecution jobExecution, BlockingQueue<PartitionDataWrapper> analyzerQueue)
-
-
Method Detail
-
originateExecutionOnThread
public ExecutionStatus originateExecutionOnThread()
- Specified by:
originateExecutionOnThreadin interfaceIThreadRootController
-
setContextProperties
protected void setContextProperties()
-
jslStop
protected void jslStop()
-
markJobStarted
protected void markJobStarted()
-
endOfJob
protected void endOfJob()
-
updateJobBatchStatus
protected void updateJobBatchStatus(jakarta.batch.runtime.BatchStatus batchStatus)
-
batchStatusStopping
protected void batchStatusStopping()
-
stop
public void stop()
- Specified by:
stopin interfaceIController
-
jobListenersBeforeJob
protected void jobListenersBeforeJob()
-
batchStatusFailedFromException
protected void batchStatusFailedFromException()
-
getLastRunStepExecutions
public List<Long> getLastRunStepExecutions()
- Specified by:
getLastRunStepExecutionsin interfaceIController
-
-