| Constructor and Description |
|---|
JobContainer() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkTerminated()
Check if the terminate flag is true, and throw a JobInterruptException if it is.
|
protected void |
destroyContext()
Empty the ThreadLocal container
|
protected JobContext |
getJobContext()
Get the JobContext object
|
protected void |
initContextContainer(JobExecutionContext jobExecutionContext)
Initialize the ThreadLocal with a JobExecutionContext object
|
protected void |
setTerminate()
Set the terminate flag to true.
|
protected void initContextContainer(JobExecutionContext jobExecutionContext)
pJobContext - protected void destroyContext()
protected JobContext getJobContext()
public void checkTerminated()
protected void setTerminate()
Copyright © 2011–2017 Knowm Inc.. All rights reserved.