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 StatZooKeeper. exists(java.lang.String path, boolean watch)Return the stat of the node of the given path.StatZooKeeper. exists(java.lang.String path, Watcher watcher)Return the stat of the node of the given path.StatOpResult.CreateResult. getStat()StatOpResult.GetDataResult. getStat()StatOpResult.SetDataResult. getStat()StatZooKeeper. 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.StatZooKeeper. 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.StringZooKeeper. 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.StringZooKeeper. 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_TTLorCreateMode.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.voidZooKeeper. 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.voidAsyncCallback.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.voidAsyncCallback.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.voidAsyncCallback.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.voidAsyncCallback.DataCallback. processResult(int rc, java.lang.String path, java.lang.Object ctx, byte[] data, Stat stat)Process the result of asynchronous calls.voidAsyncCallback.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 voidStatPrinter. 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 voidZooKeeperSaslClient.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 StatCreate2Response. getStat()StatExistsResponse. getStat()StatGetACLResponse. getStat()StatGetChildren2Response. getStat()StatGetDataResponse. getStat()StatSetACLResponse. getStat()StatSetDataResponse. getStat()Methods in org.apache.zookeeper.proto with parameters of type Stat Modifier and Type Method Description voidCreate2Response. setStat(Stat m_)voidExistsResponse. setStat(Stat m_)voidGetACLResponse. setStat(Stat m_)voidGetChildren2Response. setStat(Stat m_)voidGetDataResponse. setStat(Stat m_)voidSetACLResponse. setStat(Stat m_)voidSetDataResponse. 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 StatZooKeeperRetry. exists(java.lang.String path, boolean watch)StatZooKeeperRetry. exists(java.lang.String path, Watcher watcher)StatZooKeeperRetry. setACL(java.lang.String path, java.util.List<ACL> acl, int aclVersion)StatZooKeeperRetry. 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 StatDataTree.ProcessTxnResult. statMethods in org.apache.zookeeper.server that return Stat Modifier and Type Method Description StatDataTree. setACL(java.lang.String path, java.util.List<ACL> acl, int version)StatDataTree. setData(java.lang.String path, byte[] data, int version, long zxid, long time)StatDataTree. statNode(java.lang.String path, Watcher watcher)StatZKDatabase. 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 voidDataNode. copyStat(Stat to)static voidDataTree. copyStat(Stat from, Stat to)voidDataTree. 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 pathvoidResponseCache. put(java.lang.String path, byte[] data, Stat stat)intDumbWatcher. sendResponse(ReplyHeader h, Record r, java.lang.String tag, java.lang.String cacheKey, Stat stat, int opCode)intNettyServerCnxn. sendResponse(ReplyHeader h, Record r, java.lang.String tag, java.lang.String cacheKey, Stat stat, int opCode)intNIOServerCnxn. sendResponse(ReplyHeader h, Record r, java.lang.String tag, java.lang.String cacheKey, Stat stat, int opCode)abstract intServerCnxn. 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 voidSimpleClient. processResult(int rc, java.lang.String path, java.lang.Object ctx, byte[] data, Stat stat)voidSimpleClient. processResult(int rc, java.lang.String path, java.lang.Object ctx, Stat stat)
-