Class ParallelTreeStore

  • All Implemented Interfaces:
    Closeable, AutoCloseable, Iterable<NodeStateEntry>, IndexStore

    public class ParallelTreeStore
    extends Object
    implements IndexStore
    A wrapper around the tree store that only iterates over a subset of the nodes. Each parallel tree store reads the next block (a block is a tiny subset of the nodes). Once it has finished iterating over the block, it asks the backend for the next block. The result is that the whole range is covered, but it doesn't matter much which thread is how fast.