public class BaseManager extends Object
Modifier and Type | Field and Description |
---|---|
protected static RemoteConfig |
config |
protected static org.apache.curator.framework.CuratorFramework |
curator |
protected static Logger |
LOGGER |
Constructor and Description |
---|
BaseManager() |
Modifier and Type | Method and Description |
---|---|
static void |
delete(String key,
ConfigPath configPath) |
static boolean |
exists(String key,
ConfigPath configPath) |
static RemoteConfig |
getConfig() |
static void |
setConfig(RemoteConfig config) |
static void |
start() |
static void |
stop() |
protected static final Logger LOGGER
protected static org.apache.curator.framework.CuratorFramework curator
protected static RemoteConfig config
public static RemoteConfig getConfig()
public static void setConfig(RemoteConfig config)
public static void start()
public static void stop()
public static void delete(String key, ConfigPath configPath)
public static boolean exists(String key, ConfigPath configPath)
Copyright © 2006–2018 TinyGroup. All rights reserved.