public class ZKConfigClientImpl extends Object implements RemoteConfigReadClient
| Modifier and Type | Field and Description |
|---|---|
protected static org.tinygroup.logger.Logger |
LOGGER |
| Constructor and Description |
|---|
ZKConfigClientImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
exists(String key) |
ConfigValue |
get(String key) |
Map<String,ConfigValue> |
getAll() |
EnvironmentManager |
getEnvironmentManager() |
void |
setConfigPath(ConfigPath configPath) |
void |
setEnvironmentManager(EnvironmentManager environmentManager) |
void |
start() |
void |
stop() |
public EnvironmentManager getEnvironmentManager()
public void setEnvironmentManager(EnvironmentManager environmentManager)
public boolean exists(String key) throws BaseRuntimeException
exists in interface ConfigItemReaderBaseRuntimeExceptionpublic ConfigValue get(String key) throws BaseRuntimeException
get in interface ConfigItemReaderBaseRuntimeExceptionpublic Map<String,ConfigValue> getAll() throws BaseRuntimeException
getAll in interface ConfigItemReaderBaseRuntimeExceptionpublic void start()
start in interface RemoteConfigReadClientpublic void stop()
stop in interface RemoteConfigReadClientpublic void setConfigPath(ConfigPath configPath)
Copyright © 2006–2017 TinyGroup. All rights reserved.