com.ibm.jbatch.container.impl
Class JobThreadRootControllerImpl

java.lang.Object
  extended by 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
protected  JobContextImpl jobContext
           
protected  RuntimeJobExecution jobExecution
           
protected  long jobInstanceId
           
protected  ModelNavigator<JSLJob> jobNavigator
           
protected  IJobStatusManagerService jobStatusService
           
protected  IPersistenceManagerService persistenceService
           
protected  long rootJobExecutionId
           
 
Constructor Summary
JobThreadRootControllerImpl(RuntimeJobExecution jobExecution, BlockingQueue<PartitionDataWrapper> analyzerQueue)
           
JobThreadRootControllerImpl(RuntimeJobExecution jobExecution, long rootJobExecutionId)
           
JobThreadRootControllerImpl(RuntimeJobExecution jobExecution, long rootJobExecutionId, BlockingQueue<PartitionDataWrapper> analyzerQueue)
           
 
Method Summary
protected  void batchStatusFailedFromException()
           
protected  void batchStatusStopping()
           
protected  void endOfJob()
           
 List<Long> getLastRunStepExecutions()
           
protected  void jobListenersBeforeJob()
           
protected  void jslStop()
           
protected  void logWarning(String msg, Throwable t)
           
protected  void markJobStarted()
           
 JobOrFlowStatus originateExecutionOnThread()
           
protected  void setContextProperties()
           
 void stop()
           
protected  void updateJobBatchStatus(BatchStatus batchStatus)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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<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 JobOrFlowStatus originateExecutionOnThread()
Specified by:
originateExecutionOnThread in interface IThreadRootController

setContextProperties

protected void setContextProperties()

jslStop

protected void jslStop()

markJobStarted

protected void markJobStarted()

endOfJob

protected void endOfJob()

updateJobBatchStatus

protected void updateJobBatchStatus(BatchStatus batchStatus)

logWarning

protected void logWarning(String msg,
                          Throwable t)

batchStatusStopping

protected void batchStatusStopping()

stop

public void stop()
Specified by:
stop in interface IController

jobListenersBeforeJob

protected void jobListenersBeforeJob()

batchStatusFailedFromException

protected void batchStatusFailedFromException()

getLastRunStepExecutions

public List<Long> getLastRunStepExecutions()
Specified by:
getLastRunStepExecutions in interface IController


Copyright © 2013. All Rights Reserved.