Class DefaultTreeCacheSelector
java.lang.Object
org.apache.curator.framework.recipes.cache.DefaultTreeCacheSelector
- All Implemented Interfaces:
TreeCacheSelector
Default TreeCache selector - returns true for all methods
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanacceptChild(String fullPath) Return true if this node should be returned from the cachebooleantraverseChildren(String fullPath) Return true if children of this path should be cached.
-
Constructor Details
-
DefaultTreeCacheSelector
public DefaultTreeCacheSelector()
-
-
Method Details
-
traverseChildren
Description copied from interface:TreeCacheSelectorReturn true if children of this path should be cached. i.e. if false is returned, this node is not queried to determine if it has children or not- Specified by:
traverseChildrenin interfaceTreeCacheSelector- Parameters:
fullPath- full path of the ZNode- Returns:
- true/false
-
acceptChild
Description copied from interface:TreeCacheSelectorReturn true if this node should be returned from the cache- Specified by:
acceptChildin interfaceTreeCacheSelector- Parameters:
fullPath- full path of the ZNode- Returns:
- true/false
-