public abstract class FutureAdapter<V> extends Object implements Future<V>
Modifier and Type | Class and Description |
---|---|
static class |
FutureAdapter.Present<V> |
Constructor and Description |
---|
FutureAdapter() |
Modifier and Type | Method and Description |
---|---|
boolean |
cancel(boolean mayInterruptIfRunning) |
static <T> Future<T> |
future(Callable<T> task) |
boolean |
isCancelled() |
static <T> Future<T> |
latchGuardedValue(Supplier<T> supplier,
CountDownLatch guardedByLatch,
String jobDescription) |
static <T> FutureAdapter.Present<T> |
present(T value) |
static Future<Integer> |
processFuture(Process process) |
public boolean cancel(boolean mayInterruptIfRunning)
public boolean isCancelled()
isCancelled
in interface Future<V>
public static <T> FutureAdapter.Present<T> present(T value)
public static <T> Future<T> latchGuardedValue(Supplier<T> supplier, CountDownLatch guardedByLatch, String jobDescription)
Copyright © 2002–2016 The Neo4j Graph Database Project. All rights reserved.