What does Curator mean by in the background?

693 views Asked by At

Curator's Backgroundable

What does it mean by running in the background? Is it running in a different thread? The JavaDoc does not say anything. I am unsure :(

1

There are 1 answers

0
Randgalt On BEST ANSWER

It means asynchronous. ZooKeeper APIs are either synchronous or asynchronous. The synchronous versions wait for completion before returning. The asynchronous versions return immediately and report success/failure via a callback method.