public class DefaultTreeCacheSelector extends Object implements TreeCacheSelector
Constructor and Description |
---|
DefaultTreeCacheSelector() |
Modifier and Type | Method and Description |
---|---|
boolean |
acceptChild(String fullPath)
Return true if this node should be returned from the cache
|
boolean |
traverseChildren(String fullPath)
Return true if children of this path should be cached.
|
public boolean traverseChildren(String fullPath)
TreeCacheSelector
traverseChildren
in interface TreeCacheSelector
fullPath
- full path of the ZNodepublic boolean acceptChild(String fullPath)
TreeCacheSelector
acceptChild
in interface TreeCacheSelector
fullPath
- full path of the ZNodeCopyright © 2011–2023 The Apache Software Foundation. All rights reserved.