Use 
PREV   NEXT      All Classes   All Packages
FlexDoc/Javadoc 2.0
Demo Java Doc

Uses of Class
java.util.concurrent.ForkJoinTask
Packages that use ForkJoinTask
Utility classes commonly useful in concurrent programming.
abstract class
A ForkJoinTask with a completion action performed when triggered and there are no remaining pending actions.
abstract class
A recursive resultless ForkJoinTask.
abstract class
A recursive result-bearing ForkJoinTask.
Methods in java.util.concurrent with type parameters of type ForkJoinTask
static <T extends ForkJoinTask<?>> Collection<T>
ForkJoinTask.invokeAll(Collection<T> tasks)
Forks all tasks in the specified collection, returning when isDone holds for each task or an (unchecked) exception is encountered, in which case the exception is rethrown.
Methods in java.util.concurrent that return ForkJoinTask
protected ForkJoinTask<?>
ForkJoinPool.pollSubmission()
Removes and returns the next unexecuted submission if one is available.
ForkJoinPool.submit(Callable<T> task)
Submits a value-returning task for execution and returns a Future representing the pending results of the task.
ForkJoinPool.submit(ForkJoinTask<T> task)
Submits a ForkJoinTask for execution.
ForkJoinPool.submit(Runnable task)
Submits a Runnable task for execution and returns a Future representing that task.
ForkJoinPool.submit(Runnable task, T result)
Submits a Runnable task for execution and returns a Future representing that task.
static <T> ForkJoinTask<T>
ForkJoinTask.adapt(Callable<? extends T> callable)
Returns a new ForkJoinTask that performs the call method of the given Callable as its action, and returns its result upon ForkJoinTask.join(), translating any checked exceptions encountered into RuntimeException.
static ForkJoinTask<?>
ForkJoinTask.adapt(Runnable runnable)
Returns a new ForkJoinTask that performs the run method of the given Runnable as its action, and returns a null result upon ForkJoinTask.join().
static <T> ForkJoinTask<T>
ForkJoinTask.adapt(Runnable runnable, T result)
Returns a new ForkJoinTask that performs the run method of the given Runnable as its action, and returns the given result upon ForkJoinTask.join().
ForkJoinTask.fork()
Arranges to asynchronously execute this task in the pool the current task is running in, if applicable, or using the ForkJoinPool.commonPool() if not ForkJoinTask.inForkJoinPool().
protected static ForkJoinTask<?>
ForkJoinTask.peekNextLocalTask()
Returns, but does not unschedule or execute, a task queued by the current thread but not yet executed, if one is immediately available.
protected static ForkJoinTask<?>
ForkJoinTask.pollNextLocalTask()
Unschedules and returns, without executing, the next task queued by the current thread but not yet executed, if the current thread is operating in a ForkJoinPool.
protected static ForkJoinTask<?>
ForkJoinTask.pollSubmission()
If the current thread is operating in a ForkJoinPool, unschedules and returns, without executing, a task externally submitted to the pool, if one is available.
protected static ForkJoinTask<?>
ForkJoinTask.pollTask()
If the current thread is operating in a ForkJoinPool, unschedules and returns, without executing, the next task queued by the current thread but not yet executed, if one is available, or if not available, a task that was forked by some other thread, if available.
Methods in java.util.concurrent with parameters of type ForkJoinTask
void
ForkJoinPool.execute(ForkJoinTask<?> task)
Arranges for (asynchronous) execution of the given task.
<TT
ForkJoinPool.invoke(ForkJoinTask<T> task)
Performs the given task, returning its result upon completion.
ForkJoinPool.submit(ForkJoinTask<T> task)
Submits a ForkJoinTask for execution.
static void
ForkJoinTask.invokeAll(ForkJoinTask<?> t1, ForkJoinTask<?> t2)
Forks the given tasks, returning when isDone holds for each task or an (unchecked) exception is encountered, in which case the exception is rethrown.
static void
ForkJoinTask.invokeAll(ForkJoinTask<?>... tasks)
Forks the given tasks, returning when isDone holds for each task or an (unchecked) exception is encountered, in which case the exception is rethrown.
Method parameters in java.util.concurrent with type arguments of type ForkJoinTask
protected int
ForkJoinPool.drainTasksTo(Collection<? super ForkJoinTask<?>> c)
Removes all available unexecuted submitted and forked tasks from scheduling queues and adds them to the given collection, without altering their execution status.

 Use 
PREV   NEXT      All Classes   All Packages
FlexDoc/Javadoc 2.0
Demo Java Doc

Java API documentation generated with FlexDoc/Javadoc 2.0 using JavadocClassic 3.0 template set.
FlexDoc/Javadoc is a template-driven programming tool for rapid development of any Javadoc-based Java API documentation generators (i.e. doclets). If you need to customize your Javadoc without writing a full-blown doclet from scratch, FlexDoc/Javadoc may be the only tool able to help you! Find out more at www.flexdoc.xyz