Interface ParallelTask<T>

  • Method Details Link icon

    • performTask Link icon

      CloseableIteration<T> performTask() throws Exception
      Throws:
      Exception
    • getControl Link icon

      ParallelExecutor<T> getControl()
      return the controlling instance, e.g. in most cases the instance of a thread. Shared variables are used to inform the thread about new events.
      Returns:
      the control executor
    • getQueryInfo Link icon

      default QueryInfo getQueryInfo()
      Returns:
      the QueryInfo
    • cancel Link icon

      void cancel()
      Optional implementation to cancel this task on a best effort basis
    • close Link icon

      default void close()
      Optional implementation to close this task on a best effort basis.