What does Curator mean by in the background?

706 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 best solutions below

0
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.