Class Prefetcher


  • public class Prefetcher
    extends Object
    The prefetcher, in a separate threads, reads ahead of indexing, such that the nodestore cache and datastore cache is filled. There are 3 threads (in addition to the threads that read from the datastore): - TRACK_INDEXING - tries to be at the same position as the indexing - DATASTORE_PREFETCH - reads ahead about 1 GB, such that the datastore cache is filled - NODESTORE_CACHE_FILLER - reads ahead about 32'000 entries, such that the node store cache is filled
    • Constructor Detail

    • Method Detail

      • setBlobSuffix

        public void setBlobSuffix​(String blobSuffix)
      • setBlobReadAheadSize

        public void setBlobReadAheadSize​(long blobReadAheadSize)
      • setNodeReadAheadCount

        public void setNodeReadAheadCount​(long nodeReadAheadCount)
      • shutdown

        public boolean shutdown()
      • start

        public void start()