public class ExecutorServiceScheduler extends Object implements AsyncTaskScheduler
| Modifier and Type | Field and Description |
|---|---|
protected BrainslugContext |
context |
| Constructor and Description |
|---|
ExecutorServiceScheduler() |
| Modifier and Type | Method and Description |
|---|---|
void |
scheduleTask(Identifier taskNodeId,
Identifier sourceNodeId,
Identifier instanceId,
Identifier definitionId) |
void |
setContext(BrainslugContext context) |
void |
start() |
void |
stop() |
protected BrainslugContext context
public void scheduleTask(Identifier taskNodeId, Identifier sourceNodeId, Identifier instanceId, Identifier definitionId)
scheduleTask in interface AsyncTaskSchedulerpublic void start()
start in interface AsyncTaskSchedulerpublic void stop()
stop in interface AsyncTaskSchedulerpublic void setContext(BrainslugContext context)
setContext in interface ContextAwareCopyright © 2014. All rights reserved.