Class SearchTask

  • public class SearchTask
    extends CancellableTask
    Task storing information about a currently running search request.
    • Constructor Detail

      • SearchTask

        public SearchTask​(long id,
                          java.lang.String type,
                          java.lang.String action,
                          java.lang.String description,
                          TaskId parentTaskId,
                          java.util.Map<java.lang.String,​java.lang.String> headers)
    • Method Detail

      • shouldCancelChildrenOnCancellation

        public boolean shouldCancelChildrenOnCancellation()
        Description copied from class: CancellableTask
        Returns true if this task can potentially have children that need to be cancelled when it parent is cancelled.
        Specified by:
        shouldCancelChildrenOnCancellation in class CancellableTask