use of org.apache.zookeeper.proto.SetDataRequest in project hbase by apache.
the class ZKUtil method setData.
private static void setData(ZKWatcher zkw, SetData setData) throws KeeperException, KeeperException.NoNodeException {
SetDataRequest sd = (SetDataRequest) toZooKeeperOp(zkw, setData).toRequestRecord();
setData(zkw, sd.getPath(), sd.getData(), sd.getVersion());
}
Aggregations