Uses of Class
jsr166y.ForkJoinTask

Packages that use ForkJoinTask
jsr166y Preview versions of classes targeted for Java 7. 
 

Uses of ForkJoinTask in jsr166y
 

Subclasses of ForkJoinTask in jsr166y
 class CountedCompleter
          A resultless ForkJoinTask with a completion action performed when triggered and there are no remaining pending actions.
 class RecursiveAction
          A recursive resultless ForkJoinTask.
 class RecursiveTask<V>
          A recursive result-bearing ForkJoinTask.
 

Methods in jsr166y 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 jsr166y that return ForkJoinTask
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 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 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 join().
 ForkJoinTask<V> ForkJoinTask.fork()
          Arranges to asynchronously execute this task.
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.
protected  ForkJoinTask<?> ForkJoinPool.pollSubmission()
          Removes and returns the next unexecuted submission if one is available.
protected static ForkJoinTask<?> ForkJoinTask.pollTask()
          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.
<T> ForkJoinTask<T>
ForkJoinPool.submit(Callable<T> task)
           
<T> ForkJoinTask<T>
ForkJoinPool.submit(ForkJoinTask<T> task)
          Submits a ForkJoinTask for execution.
 ForkJoinTask<?> ForkJoinPool.submit(Runnable task)
           
<T> ForkJoinTask<T>
ForkJoinPool.submit(Runnable task, T result)
           
 

Methods in jsr166y with parameters of type ForkJoinTask
 void ForkJoinPool.execute(ForkJoinTask<?> task)
          Arranges for (asynchronous) execution of the given task.
<T> T
ForkJoinPool.invoke(ForkJoinTask<T> task)
          Performs the given task, returning its result upon completion.
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.
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<?> 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.
<T> ForkJoinTask<T>
ForkJoinPool.submit(ForkJoinTask<T> task)
          Submits a ForkJoinTask for execution.
 

Method parameters in jsr166y 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.
 



Copyright © 2009-2012. All Rights Reserved.