Class FutureTasks
java.lang.Object
org.apache.commons.lang3.concurrent.FutureTasks
Consists of utility methods that work with
FutureTask.- Since:
- 3.13.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic <V> FutureTask<V>Creates aFutureTaskand runs the givenCallable.
-
Method Details
-
run
Creates aFutureTaskand runs the givenCallable.- Type Parameters:
V- The result type returned by this FutureTask'sgetmethods.- Parameters:
callable- the Callable task.- Returns:
- a new FutureTask.
-