Apache ZooKeeper

40 / 48

ZooKeeper - Operations




Not able to play video? Try with youtube

== Ops ==

ZooKeeper provides the following operations. We have already gone through some of these.

create Creates a znode (parent znode must exist) delete Deletes a znode (mustn’t have children) exists/ls Tests whether a znode exists & gets metadata getACL, setACL Gets/sets the ACL for a znode getChildren/ls Gets a list of the children of a znode getData/get, setData Gets/sets the data associated with a znode sync Synchronizes a client’s view of a znode with ZooKeeper

== Multiupdate == ZooKeeper provides functionality of multiupdate. It batches multiple operations together. Either all fail or succeed in entirety.Others never observe any inconsistent state. It is possible to implement transactions using multiupdate.


Loading comments...