curator-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cameron McKenzie <>
Subject Re: blockUntilConnected use
Date Wed, 29 Oct 2014 22:12:33 GMT
hey Thejas,
blockUntilConnected() is used by some of the recipes etc. but generally you
probably don't need to use it, unless you explicitly don't want your
program to start doing stuff until it's got a connection.

Does anywhere in the documentation indicate that this should be called
before using Curator calls?


On Thu, Oct 30, 2014 at 9:04 AM, Thejas Nair <> wrote:

> When is CuratorFramework.blockUntilConnected supposed to be used ? It
> is not clear if one should call that before a create or getData.
> After digging some more into the jira that added that and the code
> base, I believe that calling it is not necessary before invoking other
> CuratorFramework functions. Having to do that would be contrary to the
> goals of curator.
> Should we document that it is not necessary to call
> blockUntilConnected before invoking other operations in
> CuratorFramework?
> Thanks,
> Thejas
> --
> NOTICE: This message is intended for the use of the individual or entity to
> which it is addressed and may contain information that is confidential,
> privileged and exempt from disclosure under applicable law. If the reader
> of this message is not the intended recipient, you are hereby notified that
> any printing, copying, dissemination, distribution, disclosure or
> forwarding of this communication is strictly prohibited. If you have
> received this communication in error, please contact the sender immediately
> and delete it from your system. Thank You.

View raw message