@Test public void testSetRetryPolicy() { RetryPolicy retry = new RetryOneTime(1); ZooKeeperConfiguration config = new ZooKeeperConfiguration(); config.setRetryPolicy(retry); assertSame(retry, config.getRetryPolicy().get()); }
@JsonIgnore public void setRetryPolicy(org.apache.curator.RetryPolicy retryPolicy) { _setterRetryPolicy = Optional.of(retryPolicy); }
ZooKeeperConfiguration { @JsonIgnore public void setRetryPolicy(org.apache.curator.RetryPolicy retryPolicy) { _setterRetryPolicy = Optional.of(retryPolicy); } }
ZooKeeperConfiguration { @JsonIgnore public void setRetryPolicy(org.apache.curator.RetryPolicy retryPolicy) { _setterRetryPolicy = Optional.of(retryPolicy); }  }
ZooKeeperConfiguration { @JsonIgnore public void setRetryPolicy(org.apache.curator.RetryPolicy retryPolicy) { _setterRetryPolicy = Optional.of(retryPolicy); }  CuratorFramework newCurator(); @Deprecated CuratorFramework newManagedCurator(Environment env); CuratorFramework newManagedCurator(LifecycleEnvironment env); @JsonIgnore Optional<String> getConnectString(); @JsonIgnore Optional<String> getNamespace(); @JsonIgnore Optional<org.apache.curator.RetryPolicy> getRetryPolicy(); @JsonIgnore void setConnectString(String connectString); @JsonIgnore void setNamespace(String namespace); @JsonIgnore void setRetryPolicy(org.apache.curator.RetryPolicy retryPolicy); }
ZooKeeperConfiguration { @JsonIgnore public void setRetryPolicy(org.apache.curator.RetryPolicy retryPolicy) { _setterRetryPolicy = Optional.of(retryPolicy); }  CuratorFramework newCurator(); @Deprecated CuratorFramework newManagedCurator(Environment env); CuratorFramework newManagedCurator(LifecycleEnvironment env); @JsonIgnore Optional<String> getConnectString(); @JsonIgnore Optional<String> getNamespace(); @JsonIgnore Optional<org.apache.curator.RetryPolicy> getRetryPolicy(); @JsonIgnore void setConnectString(String connectString); @JsonIgnore void setNamespace(String namespace); @JsonIgnore void setRetryPolicy(org.apache.curator.RetryPolicy retryPolicy);  }