| Interface | Description |
|---|---|
| ConnectionStateErrorPolicy |
Recipes should use the configured error policy to decide how to handle
errors such as
ConnectionState changes. |
| ConnectionStateListener |
| Class | Description |
|---|---|
| ConnectionStateManager |
Used internally to manage connection state
|
| SessionConnectionStateErrorPolicy |
This policy treats only
ConnectionState.LOST as an error |
| StandardConnectionStateErrorPolicy |
This policy treats
ConnectionState.SUSPENDED and ConnectionState.LOST
as errors |
| Enum | Description |
|---|---|
| ConnectionState |
Represents state changes in the connection to ZK
|
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.