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

Uses of Interface
java.util.concurrent.Callable
Packages that use Callable
Utility classes commonly useful in concurrent programming.
Methods in java.util.concurrent that return Callable
Executors.callable(PrivilegedAction<?> action)
Returns a Callable object that, when called, runs the given privileged action and returns its result.
Executors.callable(PrivilegedExceptionAction<?> action)
Returns a Callable object that, when called, runs the given privileged exception action and returns its result.
Executors.callable(Runnable task)
Returns a Callable object that, when called, runs the given task and returns null.
static <T> Callable<T>
Executors.callable(Runnable task, T result)
Returns a Callable object that, when called, runs the given task and returns the given result.
static <T> Callable<T>
Executors.privilegedCallable(Callable<T> callable)
Deprecated, for removal. This method is only useful in conjunction with the Security Manager, which is deprecated and subject to removal in a future release.
static <T> Callable<T>
Deprecated, for removal. This method is only useful in conjunction with the Security Manager, which is deprecated and subject to removal in a future release.
Methods in java.util.concurrent with parameters of type Callable
protected <T> RunnableFuture<T>
AbstractExecutorService.newTaskFor(Callable<T> callable)
Returns a RunnableFuture for the given callable task.
<TFuture<T>
AbstractExecutorService.submit(Callable<T> task)
Submits a value-returning task for execution and returns a Future representing the pending results of the task.
CompletionService.submit(Callable<V> task)
Submits a value-returning task for execution and returns a Future representing the pending results of the task.
ExecutorCompletionService.submit(Callable<V> task)
Submits a value-returning task for execution and returns a Future representing the pending results of the task.
static <T> Callable<T>
Executors.privilegedCallable(Callable<T> callable)
Deprecated, for removal. This method is only useful in conjunction with the Security Manager, which is deprecated and subject to removal in a future release.
static <T> Callable<T>
Deprecated, for removal. This method is only useful in conjunction with the Security Manager, which is deprecated and subject to removal in a future release.
<TFuture<T>
ExecutorService.submit(Callable<T> task)
Submits a value-returning task for execution and returns a Future representing the pending results of the task.
protected <T> RunnableFuture<T>
ForkJoinPool.newTaskFor(Callable<T> callable)
Returns a RunnableFuture for the given callable task.
ForkJoinPool.submit(Callable<T> task)
Submits a value-returning task for execution and returns a Future representing the pending results of the 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.
ScheduledExecutorService.schedule(Callable<V> callable, long delay, TimeUnit unit)
Submits a value-returning one-shot task that becomes enabled after the given delay.
ScheduledThreadPoolExecutor.decorateTask(Callable<V> callable, RunnableScheduledFuture<V> task)
Modifies or replaces the task used to execute a callable.
ScheduledThreadPoolExecutor.schedule(Callable<V> callable, long delay, TimeUnit unit)
Submits a value-returning one-shot task that becomes enabled after the given delay.
<TFuture<T>
ScheduledThreadPoolExecutor.submit(Callable<T> task)
Submits a value-returning task for execution and returns a Future representing the pending results of the task.
Method parameters in java.util.concurrent with type arguments of type Callable
AbstractExecutorService.invokeAll(Collection<? extends Callable<T>> tasks)
Executes the given tasks, returning a list of Futures holding their status and results when all complete.
AbstractExecutorService.invokeAll(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit)
Executes the given tasks, returning a list of Futures holding their status and results when all complete or the timeout expires, whichever happens first.
<TT
AbstractExecutorService.invokeAny(Collection<? extends Callable<T>> tasks)
Executes the given tasks, returning the result of one that has completed successfully (i.e., without throwing an exception), if any do.
<TT
AbstractExecutorService.invokeAny(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit)
Executes the given tasks, returning the result of one that has completed successfully (i.e., without throwing an exception), if any do before the given timeout elapses.
ExecutorService.invokeAll(Collection<? extends Callable<T>> tasks)
Executes the given tasks, returning a list of Futures holding their status and results when all complete.
ExecutorService.invokeAll(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit)
Executes the given tasks, returning a list of Futures holding their status and results when all complete or the timeout expires, whichever happens first.
<TT
ExecutorService.invokeAny(Collection<? extends Callable<T>> tasks)
Executes the given tasks, returning the result of one that has completed successfully (i.e., without throwing an exception), if any do.
<TT
ExecutorService.invokeAny(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit)
Executes the given tasks, returning the result of one that has completed successfully (i.e., without throwing an exception), if any do before the given timeout elapses.
ForkJoinPool.invokeAll(Collection<? extends Callable<T>> tasks)
Executes the given tasks, returning a list of Futures holding their status and results when all complete.
ForkJoinPool.invokeAll(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit)
Executes the given tasks, returning a list of Futures holding their status and results when all complete or the timeout expires, whichever happens first.
<TT
ForkJoinPool.invokeAny(Collection<? extends Callable<T>> tasks)
Executes the given tasks, returning the result of one that has completed successfully (i.e., without throwing an exception), if any do.
<TT
ForkJoinPool.invokeAny(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit)
Executes the given tasks, returning the result of one that has completed successfully (i.e., without throwing an exception), if any do before the given timeout elapses.
Constructors in java.util.concurrent with parameters of type Callable
FutureTask(Callable<V> callable)
Creates a FutureTask that will, upon running, execute the given Callable.

 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