Interface CuratorCacheBridge

All Superinterfaces:
AutoCloseable, Closeable, CuratorCache, CuratorCacheAccessor

public interface CuratorCacheBridge extends CuratorCache
A facade that uses CuratorCache if persistent watches are available or a TreeCache otherwise
  • Method Details

    • isCuratorCache

      boolean isCuratorCache()
      Returns true if the underlying cache is CuratorCache (i.e. ZooKeeper 3.6+). Otherwise it is TreeCache (i.e. ZooKeeper 3.5.x)
      Returns:
      true/false