public class SelfRemovalJobContext extends Object implements JobContext
| Modifier and Type | Field and Description |
|---|---|
protected JobContext |
jobContext |
protected Map<Long,TimerJobInstance> |
timerInstances |
| Constructor and Description |
|---|
SelfRemovalJobContext(JobContext jobContext,
Map<Long,TimerJobInstance> timerInstances) |
| Modifier and Type | Method and Description |
|---|---|
JobContext |
getJobContext() |
JobHandle |
getJobHandle() |
InternalWorkingMemory |
getWorkingMemory() |
void |
remove() |
void |
setJobHandle(JobHandle jobHandle)
This method should only be called by the scheduler
|
protected final JobContext jobContext
protected final Map<Long,TimerJobInstance> timerInstances
public SelfRemovalJobContext(JobContext jobContext, Map<Long,TimerJobInstance> timerInstances)
public JobContext getJobContext()
public void setJobHandle(JobHandle jobHandle)
JobContextsetJobHandle in interface JobContextpublic JobHandle getJobHandle()
getJobHandle in interface JobContextpublic InternalWorkingMemory getWorkingMemory()
getWorkingMemory in interface JobContextpublic void remove()
Copyright © 2001–2015 JBoss by Red Hat. All rights reserved.