| Modifier and Type | Interface and Description |
|---|---|
interface |
WatcherRemoveCuratorFramework
A CuratorFramework facade that tracks watchers created and allows a one-shot removal of all watchers
|
| Modifier and Type | Method and Description |
|---|---|
CuratorFramework |
CuratorFrameworkFactory.Builder.build()
Apply the current values and build a new CuratorFramework
|
static CuratorFramework |
CuratorFrameworkFactory.newClient(String connectString,
int sessionTimeoutMs,
int connectionTimeoutMs,
org.apache.curator.RetryPolicy retryPolicy)
Create a new client
|
static CuratorFramework |
CuratorFrameworkFactory.newClient(String connectString,
int sessionTimeoutMs,
int connectionTimeoutMs,
org.apache.curator.RetryPolicy retryPolicy,
org.apache.zookeeper.client.ZKClientConfig zkClientConfig)
Create a new client
|
static CuratorFramework |
CuratorFrameworkFactory.newClient(String connectString,
org.apache.curator.RetryPolicy retryPolicy)
Create a new client with default session timeout and default connection timeout
|
CuratorFramework |
CuratorFramework.nonNamespaceView()
Deprecated.
Since 2.9.0 - use
usingNamespace(java.lang.String) passing null |
CuratorFramework |
CuratorFramework.usingNamespace(String newNamespace)
Returns a facade of the current instance that uses the specified namespace
or no namespace if
newNamespace is null. |
| Constructor and Description |
|---|
EnsureContainers(CuratorFramework client,
String path) |
| Modifier and Type | Method and Description |
|---|---|
void |
CuratorListener.eventReceived(CuratorFramework client,
CuratorEvent event)
Called when a background task has completed or a watch has triggered
|
void |
BackgroundCallback.processResult(CuratorFramework client,
CuratorEvent event)
Called when the async background operation completes
|
| Modifier and Type | Class and Description |
|---|---|
class |
CuratorFrameworkImpl |
| Modifier and Type | Method and Description |
|---|---|
CuratorFramework |
CuratorFrameworkImpl.nonNamespaceView()
Deprecated.
|
CuratorFramework |
CuratorFrameworkImpl.usingNamespace(String newNamespace) |
| Modifier and Type | Method and Description |
|---|---|
static String |
SchemaSet.getNamedPath(CuratorFramework client,
String name)
Utility to return a ZNode path for the given name
|
| Modifier and Type | Method and Description |
|---|---|
UnaryListenerManager<ConnectionStateListener> |
ConnectionStateListenerManagerFactory.newManager(CuratorFramework client)
Create a new listener manager
|
void |
CircuitBreakingConnectionStateListener.stateChanged(CuratorFramework client,
ConnectionState newState) |
void |
ConnectionStateListener.stateChanged(CuratorFramework client,
ConnectionState newState)
Called when there is a state change in the connection
|
| Constructor and Description |
|---|
CircuitBreakingConnectionStateListener(CuratorFramework client,
ConnectionStateListener listener,
org.apache.curator.RetryPolicy retryPolicy) |
CircuitBreakingConnectionStateListener(CuratorFramework client,
ConnectionStateListener listener,
org.apache.curator.RetryPolicy retryPolicy,
ScheduledExecutorService service) |
ConnectionStateManager(CuratorFramework client,
ThreadFactory threadFactory,
int sessionTimeoutMs,
int sessionExpirationPercent) |
ConnectionStateManager(CuratorFramework client,
ThreadFactory threadFactory,
int sessionTimeoutMs,
int sessionExpirationPercent,
ConnectionStateListenerManagerFactory managerFactory) |
Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.