Class LocalZooKeeperCache

  • All Implemented Interfaces:
    org.apache.zookeeper.Watcher

    public class LocalZooKeeperCache
    extends ZooKeeperCache
    Per ZK client ZooKeeper cache supporting ZNode data and children list caches. A cache entry is identified, accessed and invalidated by the ZNode path. For the data cache, ZNode data parsing is done at request time with the given ZooKeeperCache.Deserializer argument.
    • Constructor Detail

      • LocalZooKeeperCache

        public LocalZooKeeperCache​(org.apache.zookeeper.ZooKeeper zk,
                                   int zkOperationTimeoutSeconds,
                                   org.apache.bookkeeper.common.util.OrderedExecutor executor)