org.eclipse.rdf4j.federated.evaluation.concurrent

## Class ParallelTaskBase<T>

- java.lang.Object
- - org.eclipse.rdf4j.federated.evaluation.concurrent.ParallelTaskBase<T>

- All Implemented Interfaces:
    ParallelTask<T>
  Direct Known Subclasses:
    ParallelBoundJoinTask, ParallelCheckJoinTask, ParallelGetStatementsTask, ParallelJoinTask, ParallelLeftJoinTask, ParallelPreparedAlgebraUnionTask, ParallelPreparedUnionTask, ParallelServiceJoinTask, ParallelUnionOperatorTask, ParallelUnionTask, SourceSelection.ParallelCheckTask

      public abstract class ParallelTaskBase<T>
      extends Object
      implements ParallelTask<T>

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected Future<?>` | `scheduledFuture`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ParallelTaskBase()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `cancel()` Optional implementation to cancel this task on a best effort basis
    `void` | `setScheduledFuture(Future<?> future)`
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

    - ### Methods inherited from interface org.eclipse.rdf4j.federated.evaluation.concurrent.ParallelTask

      `getControl, getQueryInfo, performTask`

- - ### Field Detail

    - #### scheduledFuture

          protected Future<?> scheduledFuture

  - ### Constructor Detail

    - #### ParallelTaskBase

          public ParallelTaskBase()

  - ### Method Detail

    - #### cancel

          public void cancel()

      Description copied from interface: `ParallelTask`
      Optional implementation to cancel this task on a best effort basis
      Specified by:
        `cancel` in interface `ParallelTask<T>`

    - #### setScheduledFuture

          public void setScheduledFuture(Future<?> future)

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.