org.neo4j.helpers
Class FutureAdapter<V>
java.lang.Object
org.neo4j.helpers.FutureAdapter<V>
- All Implemented Interfaces:
- Future<V>
- Direct Known Subclasses:
- FutureAdapter.Present
public abstract class FutureAdapter<V>
- extends Object
- implements Future<V>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VOID
public static final Future<Void> VOID
FutureAdapter
public FutureAdapter()
cancel
public boolean cancel(boolean mayInterruptIfRunning)
- Specified by:
cancel
in interface Future<V>
isCancelled
public boolean isCancelled()
- Specified by:
isCancelled
in interface Future<V>
latchGuardedValue
public static <T> Future<T> latchGuardedValue(ValueGetter<T> value,
CountDownLatch guardedByLatch)
future
public static <T> Future<T> future(Callable<T> task)
Copyright © 2002-2013 The Neo4j Graph Database Project. All Rights Reserved.