public static class ZooKeeperExt.PathStat extends Object
Constructor and Description |
---|
PathStat(String path,
org.apache.zookeeper.data.Stat stat)
Put in results from createOrSet()
|
Modifier and Type | Method and Description |
---|---|
String |
getPath()
Get the path of the created znode if it was created.
|
org.apache.zookeeper.data.Stat |
getStat()
Get the stat of the set znode if set
|
public PathStat(String path, org.apache.zookeeper.data.Stat stat)
path
- Path to created znode (or null)stat
- Stat from set znode (if set)public String getPath()
public org.apache.zookeeper.data.Stat getStat()
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.