Uses of Class
org.apache.zookeeper.data.Stat
Packages that use Stat
Package
Description
ZooKeeper server theory of operation
-
Uses of Stat in org.apache.zookeeper
Methods in org.apache.zookeeper that return StatModifier and TypeMethodDescriptionReturn the stat of the node of the given path.Return the stat of the node of the given path.OpResult.CreateResult.getStat()
OpResult.GetDataResult.getStat()
OpResult.SetDataResult.getStat()
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.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 StatModifier and TypeMethodDescriptionCreate a node with the given path and returns the Stat of that node.ZooKeeper.create
(String path, byte[] data, 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
.Return the ACL and stat of the node of the given path.void
ZooKeeper.getACL
(String path, Stat stat, AsyncCallback.ACLCallback cb, Object ctx) The asynchronous version of getACL.ZooKeeper.getChildren
(String path, boolean watch, Stat stat) For the given znode path return the stat and children list.ZooKeeper.getChildren
(String path, Watcher watcher, Stat stat) For the given znode path return the stat and children list.byte[]
Return the last committed configuration (as known to the server to which the client is connected) and the stat of the configuration.byte[]
Return the last committed configuration (as known to the server to which the client is connected) and the stat of the configuration.byte[]
Return the data and the stat of the node of the given path.byte[]
Return the data and the stat of the node of the given path.void
Process the result of the asynchronous call.void
AsyncCallback.Children2Callback.processResult
(int rc, String path, Object ctx, List<String> children, Stat stat) Process the result of the asynchronous call.void
AsyncCallback.Create2Callback.processResult
(int rc, String path, Object ctx, String name, Stat stat) Process the result of the asynchronous call.void
AsyncCallback.DataCallback.processResult
(int rc, String path, Object ctx, byte[] data, Stat stat) Process the result of asynchronous calls.void
AsyncCallback.StatCallback.processResult
(int rc, String path, Object ctx, Stat stat) Process the result of the asynchronous call.Constructors in org.apache.zookeeper with parameters of type StatModifierConstructorDescriptionCreateResult
(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 StatModifier and TypeMethodDescriptionbyte[]
ZooKeeperAdmin.reconfigure
(String joiningServers, String leavingServers, String newMembers, long fromConfig, Stat stat) Reconfigure - add/remove servers.byte[]
ZooKeeperAdmin.reconfigure
(List<String> joiningServers, List<String> leavingServers, List<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 -
Uses of Stat in org.apache.zookeeper.client
Methods in org.apache.zookeeper.client with parameters of type StatModifier and TypeMethodDescriptionvoid
ZooKeeperSaslClient.ServerSaslResponseCallback.processResult
(int rc, String path, Object ctx, byte[] data, Stat stat) -
Uses of Stat in org.apache.zookeeper.proto
Methods in org.apache.zookeeper.proto that return StatModifier and TypeMethodDescriptionCreate2Response.getStat()
ExistsResponse.getStat()
GetACLResponse.getStat()
GetChildren2Response.getStat()
GetDataResponse.getStat()
SetACLResponse.getStat()
SetDataResponse.getStat()
Methods in org.apache.zookeeper.proto with parameters of type StatModifier and TypeMethodDescriptionvoid
void
void
void
void
void
void
Constructors in org.apache.zookeeper.proto with parameters of type StatModifierConstructorDescriptionCreate2Response
(String path, Stat stat) ExistsResponse
(Stat stat) GetACLResponse
(List<ACL> acl, Stat stat) GetChildren2Response
(List<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 StatModifier and TypeMethodDescriptionMethods in org.apache.zookeeper.retry with parameters of type Stat -
Uses of Stat in org.apache.zookeeper.server
Fields in org.apache.zookeeper.server declared as StatMethods in org.apache.zookeeper.server that return StatModifier and TypeMethodDescriptionZKDatabase.statNode
(String path, ServerCnxn serverCnxn) stat the pathMethods in org.apache.zookeeper.server with parameters of type StatModifier and TypeMethodDescriptionvoid
static void
void
DataTree.createNode
(String path, byte[] data, List<ACL> acl, long ephemeralOwner, int parentCVersion, long zxid, long time, Stat outputStat) Add a new node to the DataTree.byte[]
get acl for a pathDataTree.getChildren
(String path, Stat stat, Watcher watcher) ZKDatabase.getChildren
(String path, Stat stat, Watcher watcher) get children list for this pathbyte[]
byte[]
get data and stat for a pathvoid
int
DumbWatcher.sendResponse
(ReplyHeader h, Record r, String tag, String cacheKey, Stat stat, int opCode) int
NettyServerCnxn.sendResponse
(ReplyHeader h, Record r, String tag, String cacheKey, Stat stat, int opCode) int
NIOServerCnxn.sendResponse
(ReplyHeader h, Record r, String tag, String cacheKey, Stat stat, int opCode) abstract int
ServerCnxn.sendResponse
(ReplyHeader h, Record r, String tag, String cacheKey, Stat stat, int opCode) Serializes a ZooKeeper response and enqueues it for sending.protected ByteBuffer[]
-
Uses of Stat in org.apache.zookeeper.test.system
Methods in org.apache.zookeeper.test.system with parameters of type StatModifier and TypeMethodDescriptionvoid
SimpleClient.processResult
(int rc, String path, Object ctx, byte[] data, Stat stat) void
SimpleClient.processResult
(int rc, String path, Object ctx, Stat stat)