Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
public static String getData(CuratorFramework client, String path) throws Exception{
String str = new String(client.getData()
.usingWatcher(new WatcherImpl(client,path))
.forPath(path));
return str;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment