Cancels the execution of this action.
Cancels the execution of this action.
Blocks and returns the result of this job.
Blocks and returns the result of this job.
Returns whether the action has been cancelled.
Returns whether the action has been cancelled.
Returns whether the action has already been completed with a value or an exception.
Returns whether the action has already been completed with a value or an exception.
Returns the job IDs run by the underlying async operation.
Returns the job IDs run by the underlying async operation.
This returns the current snapshot of the job list. Certain operations may run multiple jobs, so multiple calls to this method may return different lists.
When this action is completed, either through an exception, or a value, applies the provided function.
When this action is completed, either through an exception, or a value, applies the provided function.
Blocks until this action completes.
Blocks until this action completes.
maximum wait time, which may be negative (no waiting is done), Duration.Inf for unbounded waiting, or a finite positive duration
this FutureAction
Awaits and returns the result (of type T) of this action.
Awaits and returns the result (of type T) of this action.
maximum wait time, which may be negative (no waiting is done), Duration.Inf for unbounded waiting, or a finite positive duration
the result value if the action is completed within the specific maximum wait time
Exception
exception during action execution
The value of this Future.
The value of this Future.
If the future is not completed the returned value will be None. If the future is completed the value will be Some(Success(t)) if it contains a valid result, or Some(Failure(error)) if it contains an exception.
A FutureAction for actions that could trigger multiple Spark jobs. Examples include take, takeSample. Cancellation works by setting the cancelled flag to true and cancelling any pending jobs.