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