public class BatchWorkUnit extends Object implements Runnable
| Modifier and Type | Field and Description |
|---|---|
protected IBatchKernelService |
batchKernel |
protected IThreadRootController |
controller |
protected RuntimeJobExecution |
jobExecutionImpl |
protected boolean |
notifyCallbackWhenDone |
| Constructor and Description |
|---|
BatchWorkUnit(IBatchKernelService batchKernel,
RuntimeJobExecution jobExecutionImpl) |
BatchWorkUnit(IBatchKernelService batchKernel,
RuntimeJobExecution jobExecutionImpl,
boolean notifyCallbackWhenDone) |
| Modifier and Type | Method and Description |
|---|---|
IBatchKernelService |
getBatchKernel() |
protected BatchStatus |
getBatchStatus() |
IThreadRootController |
getController() |
protected String |
getExitStatus() |
RuntimeJobExecution |
getJobExecutionImpl() |
boolean |
isNotifyCallbackWhenDone() |
protected void |
markThreadCompleted() |
void |
run() |
void |
setBatchKernel(IBatchKernelService batchKernel) |
void |
setJobExecutionImpl(RuntimeJobExecution jobExecutionImpl) |
void |
setNotifyCallbackWhenDone(boolean notifyCallbackWhenDone) |
protected RuntimeJobExecution jobExecutionImpl
protected IBatchKernelService batchKernel
protected IThreadRootController controller
protected boolean notifyCallbackWhenDone
public BatchWorkUnit(IBatchKernelService batchKernel, RuntimeJobExecution jobExecutionImpl)
public BatchWorkUnit(IBatchKernelService batchKernel, RuntimeJobExecution jobExecutionImpl, boolean notifyCallbackWhenDone)
public IThreadRootController getController()
protected BatchStatus getBatchStatus()
protected String getExitStatus()
public void setBatchKernel(IBatchKernelService batchKernel)
public IBatchKernelService getBatchKernel()
public void setJobExecutionImpl(RuntimeJobExecution jobExecutionImpl)
public RuntimeJobExecution getJobExecutionImpl()
public void setNotifyCallbackWhenDone(boolean notifyCallbackWhenDone)
public boolean isNotifyCallbackWhenDone()
protected void markThreadCompleted()
© Copyright IBM Corp. 2014
Licensed under the Apache License, Version 2.0