com.ibm.jbatch.container.util
Class BatchWorkUnit
java.lang.Object
com.ibm.jbatch.container.util.BatchWorkUnit
- All Implemented Interfaces:
- Runnable
- Direct Known Subclasses:
- BatchParallelWorkUnit
public class BatchWorkUnit
- extends Object
- implements Runnable
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
jobExecutionImpl
protected RuntimeJobExecution jobExecutionImpl
batchKernel
protected IBatchKernelService batchKernel
controller
protected IThreadRootController controller
notifyCallbackWhenDone
protected boolean notifyCallbackWhenDone
BatchWorkUnit
public BatchWorkUnit(IBatchKernelService batchKernel,
RuntimeJobExecution jobExecutionImpl)
BatchWorkUnit
public BatchWorkUnit(IBatchKernelService batchKernel,
RuntimeJobExecution jobExecutionImpl,
boolean notifyCallbackWhenDone)
getController
public IThreadRootController getController()
run
public void run()
- Specified by:
run in interface Runnable
getBatchStatus
protected BatchStatus getBatchStatus()
getExitStatus
protected String getExitStatus()
setBatchKernel
public void setBatchKernel(IBatchKernelService batchKernel)
getBatchKernel
public IBatchKernelService getBatchKernel()
setJobExecutionImpl
public void setJobExecutionImpl(RuntimeJobExecution jobExecutionImpl)
getJobExecutionImpl
public RuntimeJobExecution getJobExecutionImpl()
setNotifyCallbackWhenDone
public void setNotifyCallbackWhenDone(boolean notifyCallbackWhenDone)
isNotifyCallbackWhenDone
public boolean isNotifyCallbackWhenDone()
markThreadCompleted
protected void markThreadCompleted()
Copyright © 2013. All Rights Reserved.