org.tinygroup.remoteconfig.zk.manager.impl
类 ZKConfigClientImpl

java.lang.Object
  继承者 org.tinygroup.remoteconfig.zk.manager.impl.ZKConfigClientImpl
所有已实现的接口:
ConfigItemReader, RemoteConfigReadClient

public class ZKConfigClientImpl
extends Object
implements RemoteConfigReadClient


字段摘要
protected static org.tinygroup.logger.Logger LOGGER
           
 
构造方法摘要
ZKConfigClientImpl()
           
 
方法摘要
 boolean exists(String key)
           
 String get(String key)
           
 Map<String,String> getAll()
           
 void setConfigPath(ConfigPath configPath)
           
 void setEnvironmentManager(EnvironmentManager environmentManager)
           
 void start()
           
 void stop()
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

LOGGER

protected static final org.tinygroup.logger.Logger LOGGER
构造方法详细信息

ZKConfigClientImpl

public ZKConfigClientImpl()
方法详细信息

setEnvironmentManager

public void setEnvironmentManager(EnvironmentManager environmentManager)

exists

public boolean exists(String key)
               throws BaseRuntimeException
指定者:
接口 ConfigItemReader 中的 exists
抛出:
BaseRuntimeException

get

public String get(String key)
           throws BaseRuntimeException
指定者:
接口 ConfigItemReader 中的 get
抛出:
BaseRuntimeException

getAll

public Map<String,String> getAll()
                          throws BaseRuntimeException
指定者:
接口 ConfigItemReader 中的 getAll
抛出:
BaseRuntimeException

start

public void start()
指定者:
接口 RemoteConfigReadClient 中的 start

stop

public void stop()
指定者:
接口 RemoteConfigReadClient 中的 stop

setConfigPath

public void setConfigPath(ConfigPath configPath)


Copyright © 2006–2016 TinyGroup. All rights reserved.