@Deprecated public abstract class FutureAdapter<V> extends Object implements Future<V>
Modifier and Type | Class and Description |
---|---|
static class |
FutureAdapter.Present<V>
Deprecated.
|
Constructor and Description |
---|
FutureAdapter()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
cancel(boolean mayInterruptIfRunning)
Deprecated.
|
static <T> Future<T> |
future(Callable<T> task)
Deprecated.
|
boolean |
isCancelled()
Deprecated.
|
static <T> Future<T> |
latchGuardedValue(Supplier<T> supplier,
CountDownLatch guardedByLatch,
String jobDescription)
Deprecated.
|
static <T> FutureAdapter.Present<T> |
present(T value)
Deprecated.
|
static Future<Integer> |
processFuture(Process process)
Deprecated.
|
public boolean cancel(boolean mayInterruptIfRunning)
public boolean isCancelled()
isCancelled
in interface Future<V>
@Deprecated public static <T> FutureAdapter.Present<T> present(T value)
T
- type of values that this Future
have.value
- result value.FutureAdapter.Present
future with already specified result
This method will be deleted as part of next major release. Please use CompletableFuture.complete(Object)
instead.@Deprecated public static <T> Future<T> latchGuardedValue(Supplier<T> supplier, CountDownLatch guardedByLatch, String jobDescription)
@Deprecated public static Future<Integer> processFuture(Process process)
@Deprecated public static <T> Future<T> future(Callable<T> task)
Copyright © 2002–2018 The Neo4j Graph Database Project. All rights reserved.