Package com.networknt.zookeeper
Class ZkUtils
- java.lang.Object
-
- com.networknt.zookeeper.ZkUtils
-
public class ZkUtils extends Object
ZooKeeper Utilities that contain some static method to help communicate with the server.- Author:
- Steve Hu
-
-
Constructor Summary
Constructors Constructor Description ZkUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringtoCommandPath(URL url)static StringtoGroupPath(URL url)static StringtoNodePath(URL url, ZkNodeType nodeType)static StringtoNodeTypePath(URL url, ZkNodeType nodeType)static StringtoServicePath(URL url)
-
-
-
Method Detail
-
toNodeTypePath
public static String toNodeTypePath(URL url, ZkNodeType nodeType)
-
toNodePath
public static String toNodePath(URL url, ZkNodeType nodeType)
-
-