public static ZooKeeperUpdatingListener of ( String zkConnectionStr , String zNodePath ) { return new ZooKeeperUpdatingListenerBuilder ( zkConnectionStr , zNodePath ) . build ( ) ; }
Creates a ZooKeeper server listener which registers server into ZooKeeper .