public class TaskFailover extends Object implements org.apache.curator.framework.recipes.cache.TreeCacheListener, AutoCloseable
| Constructor and Description |
|---|
TaskFailover() |
| Modifier and Type | Method and Description |
|---|---|
void |
childEvent(org.apache.curator.framework.CuratorFramework client,
org.apache.curator.framework.recipes.cache.TreeCacheEvent event) |
void |
close() |
static TaskFailover |
getInstance() |
TaskFailover |
open(org.apache.curator.framework.CuratorFramework client,
org.apache.curator.framework.recipes.cache.TreeCache cache) |
public static TaskFailover getInstance()
public TaskFailover open(org.apache.curator.framework.CuratorFramework client, org.apache.curator.framework.recipes.cache.TreeCache cache) throws Exception
Exceptionpublic void close()
close in interface AutoCloseableCopyright © 2017 Grakn Labs Ltd. All rights reserved.