public class ThickFuture<V> extends Object implements Future<V>, Serializable
Future. This is used to communicate the state of a
Future to a remote client. The constructor blocks until the
Future is done and then makes a record of the Future's state.
That state is serializable as the object returned by the Future is
serializable.public final boolean cancel(boolean mayInterruptIfRunning)
The future can not be cancelled as it is already done.
public final boolean isCancelled()
isCancelled in interface Future<V>public final boolean isDone()
Always returns true.
public final V get() throws InterruptedException, ExecutionException
The Future is already done, so this method does not block.
get in interface Future<V>InterruptedExceptionExecutionExceptionpublic final V get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException
The Future is already done, so this method does not block.
get in interface Future<V>InterruptedExceptionExecutionExceptionTimeoutExceptionCopyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.