public class TaskFailover extends Object implements org.apache.curator.framework.recipes.cache.TreeCacheListener, AutoCloseable
Re-schedule tasks that were running when an instance of Engine failed
| Constructor and Description |
|---|
TaskFailover(org.apache.curator.framework.CuratorFramework client,
org.apache.curator.framework.recipes.cache.TreeCache cache,
TaskStateStorage stateStorage) |
| Modifier and Type | Method and Description |
|---|---|
void |
childEvent(org.apache.curator.framework.CuratorFramework client,
org.apache.curator.framework.recipes.cache.TreeCacheEvent event) |
void |
close() |
public TaskFailover(org.apache.curator.framework.CuratorFramework client,
org.apache.curator.framework.recipes.cache.TreeCache cache,
TaskStateStorage stateStorage)
throws Exception
Exceptionpublic void close()
close in interface AutoCloseableCopyright © 2017 Grakn Labs Ltd. All rights reserved.