Description
I'm using AsyncCuratorFramework with cache, during testing I noticed that
client.cache().currentChildren(<zkPath>) not also return the full list of children, by digging into ModeledCacheImpl, apparently some children been deleted when I call client.cache().currentData(<zkPath>).
What's the alternative for me if I wants to get cached node while don't remove it from the cache?
public Optional<ZNode<T>> currentData(ZPath path)
{
Entry<T> entry = entries.remove(path);
if ( entry != null )
return Optional.empty();
}
Attachments
Issue Links
- links to