Class WarmTask

  • All Implemented Interfaces:
    Cloneable

    public class WarmTask
    extends ReadTask
    Warm reader task: retrieve all reader documents.

    Note: This task reuses the reader if it is already open. Otherwise a reader is opened at start and closed at the end.

    Other side effects: counts additional 1 (record) for each retrieved (non null) document.

    • Constructor Detail

    • Method Detail

      • withRetrieve

        public boolean withRetrieve()
        Description copied from class: ReadTask
        Return true if, with search and results traversing, docs should be retrieved.
        Specified by:
        withRetrieve in class ReadTask
      • withSearch

        public boolean withSearch()
        Description copied from class: ReadTask
        Return true if search should be performed.
        Specified by:
        withSearch in class ReadTask
      • withTraverse

        public boolean withTraverse()
        Description copied from class: ReadTask
        Return true if, with search, results should be traversed.
        Specified by:
        withTraverse in class ReadTask
      • withWarm

        public boolean withWarm()
        Description copied from class: ReadTask
        Return true if warming should be performed.
        Specified by:
        withWarm in class ReadTask