GH-1314: Fix PersistentWatcher with CuratorFramework implementations that are not CuratorFrameworkBase (#1315) Use the underlying client only for CuratorFrameworkBase instances (namespaced facades, #1259) and fall back to the public getCuratorListenable() otherwise, so that PersistentWatcher and CuratorCache work with any CuratorFramework implementation again, e.g. a decorator of the public interface. Fixes #1314.
Apache Curator is a Java/JVM client library for Apache ZooKeeper, a distributed coordination service.
Apache Curator includes a high-level API framework and utilities to make using Apache ZooKeeper much easier and more reliable. It also includes recipes for common use cases and extensions such as service discovery and a Java 8 asynchronous DSL.
For more details: