|
FlexDoc/Javadoc 2.0 Demo Java Doc |
Packages that use Callable |
|
Utility classes commonly useful in concurrent programming.
|
Uses of Callable in java.util.concurrent |
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.
|
|
Returns a Callable object that, when
called, runs the given task and returns null.
|
|
Returns a Callable object that, when
called, runs the given task and returns the given result.
|
|
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.
|
|
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 |
|
Returns a RunnableFuture for the given callable task.
|
|
Submits a value-returning task for execution and returns a
Future representing the pending results of the task.
|
|
Submits a value-returning task for execution and returns a Future
representing the pending results of the task.
|
|
Submits a value-returning task for execution and returns a Future
representing the pending results of the task.
|
|
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.
|
|
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.
|
|
Submits a value-returning task for execution and returns a
Future representing the pending results of the task.
|
|
Returns a RunnableFuture for the given callable task.
|
|
Submits a value-returning task for execution and returns a
Future representing the pending results of the task.
|
|
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.
|
|
Submits a value-returning one-shot task that becomes enabled
after the given delay.
|
|
Modifies or replaces the task used to execute a callable.
|
|
Submits a value-returning one-shot task that becomes enabled
after the given delay.
|
|
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 |
|
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.
|
|
Executes the given tasks, returning the result
of one that has completed successfully (i.e., without throwing
an exception), if any do.
|
|
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.
|
|
Executes the given tasks, returning a list of Futures holding
their status and results when all complete.
|
|
Executes the given tasks, returning a list of Futures holding
their status and results
when all complete or the timeout expires, whichever happens first.
|
|
Executes the given tasks, returning the result
of one that has completed successfully (i.e., without throwing
an exception), if any do.
|
|
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.
|
|
Executes the given tasks, returning a list of Futures holding
their status and results when all complete.
|
|
Executes the given tasks, returning a list of Futures holding
their status and results
when all complete or the timeout expires, whichever happens first.
|
|
Executes the given tasks, returning the result
of one that has completed successfully (i.e., without throwing
an exception), if any do.
|
|
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 |
|
Creates a FutureTask that will, upon running, execute the
given Callable.
|
|
FlexDoc/Javadoc 2.0 Demo Java Doc |