public class ScheduledExecution
extends java.lang.Object
Constructor and Description |
---|
ScheduledExecution(EventRealm eventRealm)
Creates an execution for the given
EventRealm . |
ScheduledExecution(EventRealm eventRealm,
Agenda agenda,
IExecutor executor)
|
ScheduledExecution(RuleBase ruleBase,
IExecutor executor)
|
Modifier and Type | Method and Description |
---|---|
protected void |
dispose()
Disposes of the execution by disposing its ruleBase.
|
protected void |
endScheduling()
This method is called by schedule() to indicate that the firing
strategy is finished its execution.
|
IExecutor |
getExecutor() |
RuleBase |
getRuleBase() |
protected void |
schedule() |
protected boolean |
startScheduling()
This method is called from schedule() to indicate that a new call
was received.
|
public ScheduledExecution(EventRealm eventRealm, Agenda agenda, IExecutor executor)
EventRealm
, Executor
and Agenda
.
Executions are usually created as part of an ExecutionSchema
through the EventDrivenVM.createExecutionSchema methods.eventRealm
- executor
- agenda
- public ScheduledExecution(EventRealm eventRealm)
EventRealm
.
Executions are usually created as part of an ExecutionSchema
through the EventDrivenVM.createExecutionSchema methods.eventRealm
- executor
- agenda
- public ScheduledExecution(RuleBase ruleBase, IExecutor executor)
Executor
and RuleBase
.
Executions are usually created as part of an ExecutionSchema
through the EventDrivenVM.createExecutionSchema methods.eventRealm
- executor
- ruleBase
- public RuleBase getRuleBase()
public IExecutor getExecutor()
protected void schedule()
protected boolean startScheduling()
protected void endScheduling()
protected void dispose()