Uses of Interface
java.util.concurrent.RunnableFuture
Package
Description
Utility classes commonly useful in concurrent programming.
Provides a set of "lightweight" (all-Java language) components
that, to the maximum degree possible, work the same on all platforms.
-
Uses of RunnableFuture in java.util.concurrent
Modifier and TypeMethodDescriptionprotected <T> RunnableFuture<T>
AbstractExecutorService.newTaskFor(Runnable runnable, T value)
Returns aRunnableFuture
for the given runnable and default value.protected <T> RunnableFuture<T>
AbstractExecutorService.newTaskFor(Callable<T> callable)
Returns aRunnableFuture
for the given callable task. -
Uses of RunnableFuture in javax.swing
Modifier and TypeClassDescriptionclass
SwingWorker<T,V>
An abstract class to perform lengthy GUI-interaction tasks in a background thread.