| Package | Description |
|---|---|
| org.apache.curator.framework | |
| org.apache.curator.framework.api | |
| org.apache.curator.framework.imps | |
| org.apache.curator.framework.state |
| 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,
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 |
|---|---|
void |
ConnectionStateListener.stateChanged(CuratorFramework client,
ConnectionState newState)
Called when there is a state change in the connection
|
| Constructor and Description |
|---|
ConnectionStateManager(CuratorFramework client,
ThreadFactory threadFactory) |
Copyright © 2011–2015 The Apache Software Foundation. All rights reserved.