1

I just want to know how does the zookeeper api's exists (String path, boolean watch) method works because I have read the docs and I am confused by it.

It states that if watch is true a watch is left on the znode which is triggered by an operation on the node but how is that watch processed (I know how, but not in case of this specific method) because no callback is being specified in this method or this version of method?

Kalamarico
  • 5,466
  • 22
  • 53
  • 70
JayD
  • 748
  • 1
  • 13
  • 38
  • Based on the docs, it looks like some of those calls are synchronous, so there is no need for a callback. Except for the async version. –  Dec 04 '18 at 16:43

0 Answers0