public abstract class AbstractAsyncTriggerScheduler extends Object implements AsyncTriggerScheduler
| Modifier and Type | Field and Description |
|---|---|
protected DefaultBrainslugContext |
context |
protected AsyncTriggerSchedulerOptions |
options |
protected AtomicBoolean |
running |
| Constructor and Description |
|---|
AbstractAsyncTriggerScheduler() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
internalSchedule(AsyncTrigger asyncTrigger) |
protected void |
internalStart() |
protected void |
internalStop() |
void |
schedule(AsyncTrigger asyncTrigger) |
void |
start(DefaultBrainslugContext context,
AsyncTriggerSchedulerOptions options) |
void |
stop() |
protected DefaultBrainslugContext context
protected AtomicBoolean running
protected AsyncTriggerSchedulerOptions options
public void schedule(AsyncTrigger asyncTrigger)
schedule in interface AsyncTriggerSchedulerprotected void internalSchedule(AsyncTrigger asyncTrigger)
public void start(DefaultBrainslugContext context, AsyncTriggerSchedulerOptions options)
start in interface AsyncTriggerSchedulerprotected void internalStart()
public void stop()
stop in interface AsyncTriggerSchedulerprotected void internalStop()
Copyright © 2014. All rights reserved.