public class FutureProcessor extends Object
| Constructor and Description |
|---|
FutureProcessor() |
| Modifier and Type | Method and Description |
|---|---|
static <T> CompletableFuture<T> |
toCompletableFuture(Callable<T> callable)
Method transforms a callable into a CompletableFuture object.
|
public static <T> CompletableFuture<T> toCompletableFuture(Callable<T> callable)
T - callable - the callable to wrap.Copyright © 2015–2016 openbase.org. All rights reserved.