public class TimerManager extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TimerManager.OverdueTrigger
Overdue aware trigger that introduces fixed delay to allow completion of session initialization
|
static class |
TimerManager.ProcessJob |
static class |
TimerManager.ProcessJobContext |
static class |
TimerManager.ProcessTimerInputMarshaller |
static class |
TimerManager.ProcessTimerOutputMarshaller |
static class |
TimerManager.StartProcessJob |
static class |
TimerManager.StartProcessJobContext |
Modifier and Type | Field and Description |
---|---|
static org.drools.core.time.Job |
processJob |
static org.drools.core.time.Job |
startProcessJob |
Constructor and Description |
---|
TimerManager(org.drools.core.common.InternalKnowledgeRuntime kruntime,
org.drools.core.time.TimerService timerService) |
Modifier and Type | Method and Description |
---|---|
void |
cancelTimer(long timerId) |
void |
dispose() |
Map<Long,TimerInstance> |
getTimerMap() |
Collection<TimerInstance> |
getTimers() |
org.drools.core.time.TimerService |
getTimerService() |
void |
internalAddTimer(TimerInstance timer) |
long |
internalGetTimerId() |
void |
internalSetTimerId(long timerId) |
void |
registerTimer(TimerInstance timer,
ProcessInstance processInstance) |
void |
registerTimer(TimerInstance timer,
String processId,
Map<String,Object> params) |
void |
setTimerService(org.drools.core.time.TimerService timerService) |
public static final org.drools.core.time.Job processJob
public static final org.drools.core.time.Job startProcessJob
public TimerManager(org.drools.core.common.InternalKnowledgeRuntime kruntime, org.drools.core.time.TimerService timerService)
public void registerTimer(TimerInstance timer, ProcessInstance processInstance)
public void registerTimer(TimerInstance timer, String processId, Map<String,Object> params)
public void internalAddTimer(TimerInstance timer)
public void cancelTimer(long timerId)
public void dispose()
public org.drools.core.time.TimerService getTimerService()
public Collection<TimerInstance> getTimers()
public Map<Long,TimerInstance> getTimerMap()
public long internalGetTimerId()
public void internalSetTimerId(long timerId)
public void setTimerService(org.drools.core.time.TimerService timerService)
Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.