public class SelfRemovalJobContext extends Object implements JobContext
Constructor and Description |
---|
SelfRemovalJobContext(JobContext jobContext,
Map<Long,TimerJobInstance> timerInstances) |
Modifier and Type | Method and Description |
---|---|
JobContext |
getJobContext() |
JobHandle |
getJobHandle() |
void |
remove() |
void |
setJobHandle(JobHandle jobHandle)
This method should only be called by the scheduler
|
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 void remove()
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.