Uses of Class
org.apache.zookeeper.data.Stat
-
Packages that use Stat Package Description org.apache.zookeeper org.apache.zookeeper.admin org.apache.zookeeper.cli org.apache.zookeeper.client org.apache.zookeeper.proto org.apache.zookeeper.retry org.apache.zookeeper.server ZooKeeper server theory of operationorg.apache.zookeeper.test.system -
-
Uses of Stat in org.apache.zookeeper
Methods in org.apache.zookeeper that return Stat Modifier and Type Method Description Stat
ZooKeeper. exists(java.lang.String path, boolean watch)
Return the stat of the node of the given path.Stat
ZooKeeper. exists(java.lang.String path, Watcher watcher)
Return the stat of the node of the given path.Stat
OpResult.CreateResult. getStat()
Stat
OpResult.GetDataResult. getStat()
Stat
OpResult.SetDataResult. getStat()
Stat
ZooKeeper. setACL(java.lang.String path, java.util.List<ACL> acl, int aclVersion)
Set the ACL for the node of the given path if such a node exists and the given aclVersion matches the acl version of the node.Stat
ZooKeeper. setData(java.lang.String path, byte[] data, int version)
Set the data for the node of the given path if such a node exists and the given version matches the version of the node (if the given version is -1, it matches any node's versions).Methods in org.apache.zookeeper with parameters of type Stat Modifier and Type Method Description java.lang.String
ZooKeeper. create(java.lang.String path, byte[] data, java.util.List<ACL> acl, CreateMode createMode, Stat stat)
Create a node with the given path and returns the Stat of that node.java.lang.String
ZooKeeper. create(java.lang.String path, byte[] data, java.util.List<ACL> acl, CreateMode createMode, Stat stat, long ttl)
same asZooKeeper.create(String, byte[], List, CreateMode, Stat)
but allows for specifying a TTL when mode isCreateMode.PERSISTENT_WITH_TTL
orCreateMode.PERSISTENT_SEQUENTIAL_WITH_TTL
.java.util.List<ACL>
ZooKeeper. getACL(java.lang.String path, Stat stat)
Return the ACL and stat of the node of the given path.void
ZooKeeper. getACL(java.lang.String path, Stat stat, AsyncCallback.ACLCallback cb, java.lang.Object ctx)
The asynchronous version of getACL.java.util.List<java.lang.String>
ZooKeeper. getChildren(java.lang.String path, boolean watch, Stat stat)
For the given znode path return the stat and children list.java.util.List<java.lang.String>
ZooKeeper. getChildren(java.lang.String path, Watcher watcher, Stat stat)
For the given znode path return the stat and children list.byte[]
ZooKeeper. getConfig(boolean watch, Stat stat)
Return the last committed configuration (as known to the server to which the client is connected) and the stat of the configuration.byte[]
ZooKeeper. getConfig(Watcher watcher, Stat stat)
Return the last committed configuration (as known to the server to which the client is connected) and the stat of the configuration.byte[]
ZooKeeper. getData(java.lang.String path, boolean watch, Stat stat)
Return the data and the stat of the node of the given path.byte[]
ZooKeeper. getData(java.lang.String path, Watcher watcher, Stat stat)
Return the data and the stat of the node of the given path.void
AsyncCallback.ACLCallback. processResult(int rc, java.lang.String path, java.lang.Object ctx, java.util.List<ACL> acl, Stat stat)
Process the result of the asynchronous call.void
AsyncCallback.Children2Callback. processResult(int rc, java.lang.String path, java.lang.Object ctx, java.util.List<java.lang.String> children, Stat stat)
Process the result of the asynchronous call.void
AsyncCallback.Create2Callback. processResult(int rc, java.lang.String path, java.lang.Object ctx, java.lang.String name, Stat stat)
Process the result of the asynchronous call.void
AsyncCallback.DataCallback. processResult(int rc, java.lang.String path, java.lang.Object ctx, byte[] data, Stat stat)
Process the result of asynchronous calls.void
AsyncCallback.StatCallback. processResult(int rc, java.lang.String path, java.lang.Object ctx, Stat stat)
Process the result of the asynchronous call.Constructors in org.apache.zookeeper with parameters of type Stat Constructor Description CreateResult(java.lang.String path, Stat stat)
GetDataResult(byte[] data, Stat stat)
SetDataResult(Stat stat)
-
Uses of Stat in org.apache.zookeeper.admin
Methods in org.apache.zookeeper.admin with parameters of type Stat Modifier and Type Method Description byte[]
ZooKeeperAdmin. reconfigure(java.lang.String joiningServers, java.lang.String leavingServers, java.lang.String newMembers, long fromConfig, Stat stat)
Reconfigure - add/remove servers.byte[]
ZooKeeperAdmin. reconfigure(java.util.List<java.lang.String> joiningServers, java.util.List<java.lang.String> leavingServers, java.util.List<java.lang.String> newMembers, long fromConfig, Stat stat)
Convenience wrapper around reconfig that takes Lists of strings instead of comma-separated servers. -
Uses of Stat in org.apache.zookeeper.cli
Methods in org.apache.zookeeper.cli with parameters of type Stat Modifier and Type Method Description void
StatPrinter. print(Stat stat)
-
Uses of Stat in org.apache.zookeeper.client
Methods in org.apache.zookeeper.client with parameters of type Stat Modifier and Type Method Description void
ZooKeeperSaslClient.ServerSaslResponseCallback. processResult(int rc, java.lang.String path, java.lang.Object ctx, byte[] data, Stat stat)
-
Uses of Stat in org.apache.zookeeper.proto
Methods in org.apache.zookeeper.proto that return Stat Modifier and Type Method Description Stat
Create2Response. getStat()
Stat
ExistsResponse. getStat()
Stat
GetACLResponse. getStat()
Stat
GetChildren2Response. getStat()
Stat
GetDataResponse. getStat()
Stat
SetACLResponse. getStat()
Stat
SetDataResponse. getStat()
Methods in org.apache.zookeeper.proto with parameters of type Stat Modifier and Type Method Description void
Create2Response. setStat(Stat m_)
void
ExistsResponse. setStat(Stat m_)
void
GetACLResponse. setStat(Stat m_)
void
GetChildren2Response. setStat(Stat m_)
void
GetDataResponse. setStat(Stat m_)
void
SetACLResponse. setStat(Stat m_)
void
SetDataResponse. setStat(Stat m_)
Constructors in org.apache.zookeeper.proto with parameters of type Stat Constructor Description Create2Response(java.lang.String path, Stat stat)
ExistsResponse(Stat stat)
GetACLResponse(java.util.List<ACL> acl, Stat stat)
GetChildren2Response(java.util.List<java.lang.String> children, Stat stat)
GetDataResponse(byte[] data, Stat stat)
SetACLResponse(Stat stat)
SetDataResponse(Stat stat)
-
Uses of Stat in org.apache.zookeeper.retry
Methods in org.apache.zookeeper.retry that return Stat Modifier and Type Method Description Stat
ZooKeeperRetry. exists(java.lang.String path, boolean watch)
Stat
ZooKeeperRetry. exists(java.lang.String path, Watcher watcher)
Stat
ZooKeeperRetry. setACL(java.lang.String path, java.util.List<ACL> acl, int aclVersion)
Stat
ZooKeeperRetry. setData(java.lang.String path, byte[] data, int version)
Methods in org.apache.zookeeper.retry with parameters of type Stat Modifier and Type Method Description java.util.List<ACL>
ZooKeeperRetry. getACL(java.lang.String path, Stat stat)
byte[]
ZooKeeperRetry. getData(java.lang.String path, boolean watch, Stat stat)
byte[]
ZooKeeperRetry. getData(java.lang.String path, Watcher watcher, Stat stat)
-
Uses of Stat in org.apache.zookeeper.server
Fields in org.apache.zookeeper.server declared as Stat Modifier and Type Field Description Stat
DataTree.ProcessTxnResult. stat
Methods in org.apache.zookeeper.server that return Stat Modifier and Type Method Description Stat
DataTree. setACL(java.lang.String path, java.util.List<ACL> acl, int version)
Stat
DataTree. setData(java.lang.String path, byte[] data, int version, long zxid, long time)
Stat
DataTree. statNode(java.lang.String path, Watcher watcher)
Stat
ZKDatabase. statNode(java.lang.String path, ServerCnxn serverCnxn)
stat the pathMethods in org.apache.zookeeper.server with parameters of type Stat Modifier and Type Method Description void
DataNode. copyStat(Stat to)
static void
DataTree. copyStat(Stat from, Stat to)
void
DataTree. createNode(java.lang.String path, byte[] data, java.util.List<ACL> acl, long ephemeralOwner, int parentCVersion, long zxid, long time, Stat outputStat)
Add a new node to the DataTree.byte[]
ResponseCache. get(java.lang.String key, Stat stat)
java.util.List<ACL>
DataTree. getACL(java.lang.String path, Stat stat)
java.util.List<ACL>
ZKDatabase. getACL(java.lang.String path, Stat stat)
get acl for a pathjava.util.List<java.lang.String>
DataTree. getChildren(java.lang.String path, Stat stat, Watcher watcher)
java.util.List<java.lang.String>
ZKDatabase. getChildren(java.lang.String path, Stat stat, Watcher watcher)
get children list for this pathbyte[]
DataTree. getData(java.lang.String path, Stat stat, Watcher watcher)
byte[]
ZKDatabase. getData(java.lang.String path, Stat stat, Watcher watcher)
get data and stat for a pathvoid
ResponseCache. put(java.lang.String path, byte[] data, Stat stat)
int
DumbWatcher. sendResponse(ReplyHeader h, Record r, java.lang.String tag, java.lang.String cacheKey, Stat stat, int opCode)
int
NettyServerCnxn. sendResponse(ReplyHeader h, Record r, java.lang.String tag, java.lang.String cacheKey, Stat stat, int opCode)
int
NIOServerCnxn. sendResponse(ReplyHeader h, Record r, java.lang.String tag, java.lang.String cacheKey, Stat stat, int opCode)
abstract int
ServerCnxn. sendResponse(ReplyHeader h, Record r, java.lang.String tag, java.lang.String cacheKey, Stat stat, int opCode)
Serializes a ZooKeeper response and enqueues it for sending.protected java.nio.ByteBuffer[]
ServerCnxn. serialize(ReplyHeader h, Record r, java.lang.String tag, java.lang.String cacheKey, Stat stat, int opCode)
-
Uses of Stat in org.apache.zookeeper.test.system
Methods in org.apache.zookeeper.test.system with parameters of type Stat Modifier and Type Method Description void
SimpleClient. processResult(int rc, java.lang.String path, java.lang.Object ctx, byte[] data, Stat stat)
void
SimpleClient. processResult(int rc, java.lang.String path, java.lang.Object ctx, Stat stat)
-