Answer Posted / Mohseen
The ZooKeeper class provides several methods for interacting with the ZooKeeper server:n1. connect(): Establishes a connection to the ZooKeeper ensemble.n2. getChildren(): Retrieves the children of a given path.n3. exists(): Checks if a node at a given path exists.n4. create(): Creates a new node with the specified data and returns its version number.n5. setData(): Updates the data associated with an existing node.n6. delete(): Deletes a specified node.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category