Package org.apache.curator.utils
Class ZookeeperCompatibility
java.lang.Object
org.apache.curator.utils.ZookeeperCompatibility
Describe feature supports based on server compatibility (as opposed to
Compatibility
which represents client compatibility.-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ZookeeperCompatibility
Represent latest version with all features enabled -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
boolean
Check if both client and server support persistent watchers
-
Field Details
-
LATEST
Represent latest version with all features enabled
-
-
Method Details
-
builder
-
hasPersistentWatchers
public boolean hasPersistentWatchers()Check if both client and server support persistent watchers- Returns:
true
if both the client library and the server version support persistent watchers
-