@Override
                public void nodeChanged() throws Exception {
                    String path = nodeCache.getCurrentData().getPath();

                    Object data = nodeCache.getCurrentData().getData();

                    if (data == null) {
                        listener.dataDeleted(path);
                    } else {
                        listener.dataChange(path, data);
                    }
                }
@author Robert HG (254963746@qq.com) on 5/16/15.
lts-core/src/main/java/com/github/ltsopensource/zookeeper/curator/CuratorZkClient.java