curator-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jordan Zimmerman <>
Subject Re: blockUntilConnected use
Date Wed, 29 Oct 2014 22:15:23 GMT
That’s an internal method. Any of the Curator Framework methods will call it to make sure
the connection is valid. You should never need to call it yourself.


On October 29, 2014 at 5:04:58 PM, 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  


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