| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
LOGGER |
| Constructor and Description |
|---|
WatchMgrImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
init(String hosts,
String zooUrlPrefix,
boolean debug)
初始化
|
void |
release() |
void |
watchPath(DisconfCoreProcessor disconfCoreMgr,
DisConfCommonModel disConfCommonModel,
String keyName,
DisConfigTypeEnum disConfigTypeEnum,
String value)
监控路径,监控前会事先创建路径,并且会新建一个自己的Temp子结点
|
public void init(String hosts, String zooUrlPrefix, boolean debug) throws Exception
WatchMgrpublic void watchPath(DisconfCoreProcessor disconfCoreMgr, DisConfCommonModel disConfCommonModel, String keyName, DisConfigTypeEnum disConfigTypeEnum, String value) throws Exception
Copyright © 2015–2016 Baidu. All rights reserved.