Uses of Interface
org.apache.curator.framework.CuratorFramework
-
-
Uses of CuratorFramework in org.apache.curator.framework
Subinterfaces of CuratorFramework in org.apache.curator.framework Modifier and Type Interface Description interfaceWatcherRemoveCuratorFrameworkA CuratorFramework facade that tracks watchers created and allows a one-shot removal of all watchersMethods in org.apache.curator.framework that return CuratorFramework Modifier and Type Method Description CuratorFrameworkCuratorFrameworkFactory.Builder. build()Apply the current values and build a new CuratorFrameworkstatic CuratorFrameworkCuratorFrameworkFactory. newClient(java.lang.String connectString, int sessionTimeoutMs, int connectionTimeoutMs, org.apache.curator.RetryPolicy retryPolicy)Create a new clientstatic CuratorFrameworkCuratorFrameworkFactory. newClient(java.lang.String connectString, org.apache.curator.RetryPolicy retryPolicy)Create a new client with default session timeout and default connection timeoutCuratorFrameworkCuratorFramework. nonNamespaceView()Deprecated.Since 2.9.0 - useusingNamespace(java.lang.String)passingnullCuratorFrameworkCuratorFramework. usingNamespace(java.lang.String newNamespace)Returns a facade of the current instance that uses the specified namespace or no namespace ifnewNamespaceisnull.Constructors in org.apache.curator.framework with parameters of type CuratorFramework Constructor Description EnsureContainers(CuratorFramework client, java.lang.String path) -
Uses of CuratorFramework in org.apache.curator.framework.api
Methods in org.apache.curator.framework.api with parameters of type CuratorFramework Modifier and Type Method Description voidCuratorListener. eventReceived(CuratorFramework client, CuratorEvent event)Called when a background task has completed or a watch has triggeredvoidBackgroundCallback. processResult(CuratorFramework client, CuratorEvent event)Called when the async background operation completes -
Uses of CuratorFramework in org.apache.curator.framework.imps
Classes in org.apache.curator.framework.imps that implement CuratorFramework Modifier and Type Class Description classCuratorFrameworkImplMethods in org.apache.curator.framework.imps that return CuratorFramework Modifier and Type Method Description CuratorFrameworkCuratorFrameworkImpl. nonNamespaceView()Deprecated.CuratorFrameworkCuratorFrameworkImpl. usingNamespace(java.lang.String newNamespace) -
Uses of CuratorFramework in org.apache.curator.framework.schema
Methods in org.apache.curator.framework.schema with parameters of type CuratorFramework Modifier and Type Method Description static java.lang.StringSchemaSet. getNamedPath(CuratorFramework client, java.lang.String name)Utility to return a ZNode path for the given name -
Uses of CuratorFramework in org.apache.curator.framework.state
Methods in org.apache.curator.framework.state with parameters of type CuratorFramework Modifier and Type Method Description ConnectionStateListenerConnectionStateListenerDecorator. decorateListener(CuratorFramework client, ConnectionStateListener actual)voidCircuitBreakingConnectionStateListener. stateChanged(CuratorFramework client, ConnectionState newState)voidConnectionStateListener. stateChanged(CuratorFramework client, ConnectionState newState)Called when there is a state change in the connectionConstructors in org.apache.curator.framework.state with parameters of type CuratorFramework Constructor Description CircuitBreakingConnectionStateListener(CuratorFramework client, ConnectionStateListener listener, org.apache.curator.RetryPolicy retryPolicy)CircuitBreakingConnectionStateListener(CuratorFramework client, ConnectionStateListener listener, org.apache.curator.RetryPolicy retryPolicy, java.util.concurrent.ScheduledExecutorService service)ConnectionStateManager(CuratorFramework client, java.util.concurrent.ThreadFactory threadFactory, int sessionTimeoutMs, int sessionExpirationPercent)ConnectionStateManager(CuratorFramework client, java.util.concurrent.ThreadFactory threadFactory, int sessionTimeoutMs, int sessionExpirationPercent, ConnectionStateListenerDecorator connectionStateListenerDecorator)
-