Class Compatibility

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

public class Compatibility extends Object
Utils to help with ZK version compatibility
  • Constructor Details

    • Compatibility

      public Compatibility()
  • Method Details

    • hasGetReachableOrOneMethod

      public static boolean hasGetReachableOrOneMethod()
    • hasAddrField

      public static boolean hasAddrField()
    • getHostString

      public static String getHostString(org.apache.zookeeper.server.quorum.QuorumPeer.QuorumServer server)
    • hasPersistentWatchers

      public static boolean hasPersistentWatchers()