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)
JobContext
setJobHandle
in interface JobContext
public JobHandle getJobHandle()
getJobHandle
in interface JobContext
public InternalWorkingMemory getWorkingMemory()
getWorkingMemory
in interface JobContext
public void remove()
Copyright © 2001–2015 JBoss by Red Hat. All rights reserved.