Interface CuratorCacheBridge
- All Superinterfaces:
AutoCloseable
,Closeable
,CuratorCache
,CuratorCacheAccessor
A facade that uses
CuratorCache
if
persistent watches are available or a TreeCache
otherwise-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.curator.framework.recipes.cache.CuratorCache
CuratorCache.Options
-
Method Summary
Modifier and TypeMethodDescriptionboolean
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 Details
-
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
-