| Package | Description |
|---|---|
| org.apache.curator.framework | |
| org.apache.curator.framework.state |
| Modifier and Type | Method and Description |
|---|---|
ConnectionStateListenerManagerFactory |
CuratorFrameworkFactory.Builder.getConnectionStateListenerManagerFactory() |
| Modifier and Type | Method and Description |
|---|---|
CuratorFrameworkFactory.Builder |
CuratorFrameworkFactory.Builder.connectionStateListenerManagerFactory(ConnectionStateListenerManagerFactory connectionStateListenerManagerFactory)
Sets the connection state listener manager factory.
|
| Modifier and Type | Field and Description |
|---|---|
static ConnectionStateListenerManagerFactory |
ConnectionStateListenerManagerFactory.standard
Pass through
|
| Modifier and Type | Method and Description |
|---|---|
static ConnectionStateListenerManagerFactory |
ConnectionStateListenerManagerFactory.circuitBreaking(org.apache.curator.RetryPolicy retryPolicy)
Listeners set in this manager receive circuit breaking behavior using
CircuitBreakingConnectionStateListener
as a master listener that proxies to any listener registered by client code (unless the listener returns true
for ConnectionStateListener.doNotProxy()). |
static ConnectionStateListenerManagerFactory |
ConnectionStateListenerManagerFactory.circuitBreaking(org.apache.curator.RetryPolicy retryPolicy,
ScheduledExecutorService service)
Listeners set in this manager receive circuit breaking behavior using
CircuitBreakingConnectionStateListener
as a master listener that proxies to any listener registered by client code (unless the listener returns true
for ConnectionStateListener.doNotProxy()). |
| Constructor and Description |
|---|
ConnectionStateManager(CuratorFramework client,
ThreadFactory threadFactory,
int sessionTimeoutMs,
int sessionExpirationPercent,
ConnectionStateListenerManagerFactory managerFactory) |
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.