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
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ZookeeperCompatibilityRepresent latest version with all features enabled -
Method Summary
Modifier and TypeMethodDescriptionbuilder()booleanCheck 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:
trueif both the client library and the server version support persistent watchers
-