public class ZookeeperCompatibility extends Object
Compatibility which represents client compatibility.| Modifier and Type | Class and Description |
|---|---|
static class |
ZookeeperCompatibility.Builder |
| Modifier and Type | Field and Description |
|---|---|
static ZookeeperCompatibility |
LATEST
Represent latest version with all features enabled
|
| Modifier and Type | Method and Description |
|---|---|
static ZookeeperCompatibility.Builder |
builder() |
boolean |
hasPersistentWatchers()
Check if both client and server support persistent watchers
|
public static final ZookeeperCompatibility LATEST
public static ZookeeperCompatibility.Builder builder()
public boolean hasPersistentWatchers()
true if both the client library and the server version
support persistent watchersCopyright © 2011–2023 The Apache Software Foundation. All rights reserved.