public interface Orchestration
BackgroundLoop and EveryDay
to synchronize those activities across a cluster.| Modifier and Type | Method and Description |
|---|---|
void |
backgroundLoopCompleted(String name,
String executionInfo)
Invoked once a
BackgroundLoop completed it's work. |
boolean |
shouldRunDailyTask(String name)
Determines if a daily task should be executed.
|
boolean |
tryExecuteBackgroundLoop(String name)
Determines if the background loop with the given name should be executed.
|
boolean tryExecuteBackgroundLoop(String name)
name - the name of the loopvoid backgroundLoopCompleted(String name, String executionInfo)
BackgroundLoop completed it's work.name - the name of the background loopexecutionInfo - some info about the last executionboolean shouldRunDailyTask(String name)
name - the name of the taskCopyright © 2018. All rights reserved.