public class GraphUpdateContext.UpdateFuture<T extends Element> extends Object implements Future<T>
| Constructor and Description |
|---|
UpdateFuture(ElementUpdateContext<T> elementUpdateContext) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
cancel(boolean mayInterruptIfRunning) |
T |
get() |
T |
get(long timeout,
TimeUnit unit) |
protected ElementUpdateContext<T> |
getElementUpdateContext() |
boolean |
isCancelled() |
boolean |
isDone() |
protected void |
setElement(T element) |
public UpdateFuture(ElementUpdateContext<T> elementUpdateContext)
public boolean cancel(boolean mayInterruptIfRunning)
public boolean isCancelled()
isCancelled in interface Future<T extends Element>public T get() throws InterruptedException, ExecutionException
get in interface Future<T extends Element>InterruptedExceptionExecutionExceptionpublic T get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException
get in interface Future<T extends Element>InterruptedExceptionExecutionExceptionTimeoutExceptionprotected ElementUpdateContext<T> getElementUpdateContext()
protected void setElement(T element)
Copyright © 2016–2021 MWARE SOLUTIONS. All rights reserved.