Uses of Class
org.apache.curator.framework.CuratorFrameworkFactory.Builder
-
Uses of CuratorFrameworkFactory.Builder in org.apache.curator.framework
Modifier and TypeMethodDescriptionCuratorFrameworkFactory.Builder.aclProvider
(ACLProvider aclProvider) CuratorFrameworkFactory.Builder.authorization
(String scheme, byte[] auth) Add connection authorization Subsequent calls to this method overwrite the prior calls.CuratorFrameworkFactory.Builder.authorization
(List<AuthInfo> authInfos) Add connection authorization.CuratorFrameworkFactory.builder()
Return a new builder that builds a CuratorFrameworkCuratorFrameworkFactory.Builder.canBeReadOnly
(boolean canBeReadOnly) CuratorFrameworkFactory.Builder.compressionProvider
(CompressionProvider compressionProvider) CuratorFrameworkFactory.Builder.connectionStateErrorPolicy
(ConnectionStateErrorPolicy connectionStateErrorPolicy) Set the error policy to use.CuratorFrameworkFactory.Builder.connectionStateListenerManagerFactory
(ConnectionStateListenerManagerFactory connectionStateListenerManagerFactory) Sets the connection state listener manager factory.CuratorFrameworkFactory.Builder.connectionTimeoutMs
(int connectionTimeoutMs) CuratorFrameworkFactory.Builder.connectString
(String connectString) Set the list of servers to connect to.CuratorFrameworkFactory.Builder.defaultData
(byte[] defaultData) Sets the data to use whenPathAndBytesable.forPath(String)
is used.CuratorFrameworkFactory.Builder.dontUseContainerParents()
By default, Curator usesCreateBuilderMain.creatingParentContainersIfNeeded()
if the ZK JAR supportsCreateMode.CONTAINER
.CuratorFrameworkFactory.Builder.ensembleProvider
(EnsembleProvider ensembleProvider) Set the list ensemble provider.CuratorFrameworkFactory.Builder.ensembleTracker
(boolean withEnsembleTracker) Allows to configure if the ensemble configuration changes will be watched.CuratorFrameworkFactory.Builder.maxCloseWaitMs
(int maxCloseWaitMs) As ZooKeeper is a shared space, users of a given cluster should stay within a pre-defined namespace.CuratorFrameworkFactory.Builder.retryPolicy
(RetryPolicy retryPolicy) CuratorFrameworkFactory.Builder.runSafeService
(Executor runSafeService) Curator (and user) recipes will use this executor to call notifyAll and other blocking calls that might normally block ZooKeeper's event thread.Add an enforced schema setCuratorFrameworkFactory.Builder.sessionTimeoutMs
(int sessionTimeoutMs) CuratorFrameworkFactory.Builder.simulatedSessionExpirationPercent
(int simulatedSessionExpirationPercent) Prior to 3.0.0, Curator did not try to manage session expiration other than the functionality provided by ZooKeeper itself.CuratorFrameworkFactory.Builder.threadFactory
(ThreadFactory threadFactory) CuratorFrameworkFactory.Builder.waitForShutdownTimeoutMs
(int waitForShutdownTimeoutMs) Set a timeout forCuratorZookeeperClient.close(int)
}.CuratorFrameworkFactory.Builder.zkClientConfig
(org.apache.zookeeper.client.ZKClientConfig zkClientConfig) CuratorFrameworkFactory.Builder.zookeeperCompatibility
(ZookeeperCompatibility zookeeperCompatibility) CuratorFrameworkFactory.Builder.zookeeperFactory
(ZookeeperFactory zookeeperFactory) -
Uses of CuratorFrameworkFactory.Builder in org.apache.curator.framework.imps
ModifierConstructorDescriptionCuratorTempFrameworkImpl
(CuratorFrameworkFactory.Builder factory, long inactiveThresholdMs)