public class DefaultFlowStartScheduler extends Object implements AsyncFlowStartScheduler
| Constructor and Description |
|---|
DefaultFlowStartScheduler() |
| Modifier and Type | Method and Description |
|---|---|
Set<brainslug.flow.execution.async.DefaultFlowStartScheduler.TimedFlowDefinition> |
getFlowDefinitionsWithStartTimer(Collection<FlowDefinition> definitions) |
ScheduledExecutorService |
getScheduledExecutorService() |
SchedulerOptions |
getSchedulerOptions() |
void |
start(SchedulerOptions schedulerOptions,
BrainslugContext brainslugContext,
Collection<FlowDefinition> definitions) |
void |
stop() |
DefaultFlowStartScheduler |
withScheduledExecutorService(ScheduledExecutorService scheduledExecutorService) |
DefaultFlowStartScheduler |
withSchedulerOptions(SchedulerOptions schedulerOptions) |
public void start(SchedulerOptions schedulerOptions, BrainslugContext brainslugContext, Collection<FlowDefinition> definitions)
start in interface AsyncFlowStartSchedulerpublic void stop()
stop in interface AsyncFlowStartSchedulerpublic Set<brainslug.flow.execution.async.DefaultFlowStartScheduler.TimedFlowDefinition> getFlowDefinitionsWithStartTimer(Collection<FlowDefinition> definitions)
public ScheduledExecutorService getScheduledExecutorService()
public DefaultFlowStartScheduler withScheduledExecutorService(ScheduledExecutorService scheduledExecutorService)
public SchedulerOptions getSchedulerOptions()
public DefaultFlowStartScheduler withSchedulerOptions(SchedulerOptions schedulerOptions)
Copyright © 2014. All rights reserved.