public class ParallelTask<T> extends CompoundTask<T>
Task
s in parallel.
No guarantees of order of starting the tasks, but the return value is a
List
of the return values of supplied tasks in the same
order they were passed as arguments.BasicTask.SubmissionErrorCatchingExecutor, BasicTask.TaskFinalizer
description, displayName, NO_OP, WARN_IF_NOT_RUN
Constructor and Description |
---|
ParallelTask(java.util.Collection<? extends java.lang.Object> tasks) |
ParallelTask(java.lang.Iterable<? extends java.lang.Object> tasks) |
ParallelTask(java.util.Map<java.lang.String,?> flags,
java.util.Collection<? extends java.lang.Object> tasks) |
ParallelTask(java.util.Map<java.lang.String,?> flags,
java.lang.Iterable<? extends java.lang.Object> tasks) |
ParallelTask(java.lang.Object... tasks) |
getChildren, getChildrenTyped
addListener, applyTagModifier, asTask, blockUntilEnded, blockUntilEnded, blockUntilStarted, blockUntilStarted, cancel, cancel, equals, get, get, get, getBlockingDetails, getBlockingTask, getDescription, getDisplayName, getEndTimeUtc, getExtraStatusText, getId, getInternalFuture, getJob, getListeners, getMutableTags, getProxyTarget, getQueuedTimeUtc, getStartTimeUtc, getStatusDetail, getStatusSummary, getSubmittedByTask, getSubmitTimeUtc, getTags, getThread, getUnchecked, getUnchecked, hashCode, ignoreIfNotRun, initInternalFuture, isBegun, isCancelled, isDone, isError, isQueued, isQueuedAndNotSubmitted, isQueuedOrSubmitted, isSubmitted, markQueued, resetBlockingDetails, resetBlockingTask, runListeners, setBlockingDetails, setBlockingTask, setEndTimeUtc, setExtraStatusText, setFinalizer, setJob, setStartTimeUtc, setSubmittedByTask, setSubmitTimeUtc, setThread, toString, uncancel
public ParallelTask(java.lang.Object... tasks)
public ParallelTask(java.util.Map<java.lang.String,?> flags, java.util.Collection<? extends java.lang.Object> tasks)
public ParallelTask(java.util.Collection<? extends java.lang.Object> tasks)
public ParallelTask(java.util.Map<java.lang.String,?> flags, java.lang.Iterable<? extends java.lang.Object> tasks)
public ParallelTask(java.lang.Iterable<? extends java.lang.Object> tasks)