mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-10-13 08:16:04 +00:00
feat[net]: get zookeeper path
This commit is contained in:
1 parent
e7a9ad3054
commit
a10dca9f58
2 files changed
+5
No files matched your search
@@ -55,4 +55,5 @@ public interface IRegistry {
|
||||
|
||||
void shutdown();
|
||||
|
||||
String getRootPath();
|
||||
}
|
||||
@@ -755,4 +755,8 @@ public class ZookeeperRegistry implements IRegistry {
|
||||
return StringUtils.format("[path:{}] [stat:{}] [dataSize:{}]", childData.getPath(), childData.getStat(), childData.getData().length);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getRootPath() {
|
||||
return rootPath;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user