mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-08-14 12:27:18 +00:00
@@ -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