| Modifier and Type | Interface | Description |
|---|---|---|
interface |
WatcherRemoveCuratorFramework |
A CuratorFramework facade that tracks watchers created and allows a one-shot removal of all watchers
|
| Modifier and Type | Method | Description |
|---|---|---|
CuratorFramework |
CuratorFrameworkFactory.Builder.build() |
Apply the current values and build a new CuratorFramework
|
static CuratorFramework |
CuratorFrameworkFactory.newClient(java.lang.String connectString,
int sessionTimeoutMs,
int connectionTimeoutMs,
org.apache.curator.RetryPolicy retryPolicy) |
Create a new client
|
static CuratorFramework |
CuratorFrameworkFactory.newClient(java.lang.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(java.lang.String newNamespace) |
Returns a facade of the current instance that uses the specified namespace
or no namespace if
newNamespace is null. |
| Constructor | Description |
|---|---|
EnsureContainers(CuratorFramework client,
java.lang.String path) |
| Modifier and Type | Method | 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 | Description |
|---|---|---|
class |
CuratorFrameworkImpl |
| Modifier and Type | Method | Description |
|---|---|---|
CuratorFramework |
CuratorFrameworkImpl.nonNamespaceView() |
Deprecated.
|
CuratorFramework |
CuratorFrameworkImpl.usingNamespace(java.lang.String newNamespace) |
| Modifier and Type | Method | Description |
|---|---|---|
static java.lang.String |
SchemaSet.getNamedPath(CuratorFramework client,
java.lang.String name) |
Utility to return a ZNode path for the given name
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
ConnectionStateListener.stateChanged(CuratorFramework client,
ConnectionState newState) |
Called when there is a state change in the connection
|
| Constructor | Description |
|---|---|
ConnectionStateManager(CuratorFramework client,
java.util.concurrent.ThreadFactory threadFactory,
int sessionTimeoutMs,
int sessionExpirationPercent) |
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.