Interface CuratorCacheBridge
-
- All Superinterfaces:
java.lang.AutoCloseable,java.io.Closeable,CuratorCache,CuratorCacheAccessor
public interface CuratorCacheBridge extends CuratorCache
A facade that usesCuratorCacheif persistent watches are available or aTreeCacheotherwise
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.curator.framework.recipes.cache.CuratorCache
CuratorCache.Options
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisCuratorCache()Returns true if the underlying cache isCuratorCache(i.e.-
Methods inherited from interface org.apache.curator.framework.recipes.cache.CuratorCache
close, get, listenable, size, start, stream
-
-
-
-
Method Detail
-
isCuratorCache
boolean isCuratorCache()
Returns true if the underlying cache isCuratorCache(i.e. ZooKeeper 3.6+). Otherwise it isTreeCache(i.e. ZooKeeper 3.5.x)- Returns:
- true/false
-
-