CuratorFramework.withRetryPolicy() - it would be the same Curator connection but with a different retry policy. Similar to CuratorFramework.withNamespace().
-JZ > On Oct 9, 2015, at 9:44 AM, pratap k <[email protected]> wrote: > > >> Lastly, we could add a method to change the retry policy. > That would be great, but only if doesn't change connection retry policy. > As said, better to have one retry policy for connection retry, and other for > application threads Zookeeper API calls. >
