Class ZookeeperCompatibility

java.lang.Object
org.apache.curator.utils.ZookeeperCompatibility

public class ZookeeperCompatibility extends Object
Describe feature supports based on server compatibility (as opposed to Compatibility which represents client compatibility.
  • Field Details

    • LATEST

      public static final ZookeeperCompatibility LATEST
      Represent latest version with all features enabled
  • Method Details

    • builder

      public static ZookeeperCompatibility.Builder 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