| Modifier and Type | Field and Description |
|---|---|
protected String |
failure |
protected Exception |
failureCause |
| Constructor and Description |
|---|
FutureImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
awaitResult() |
boolean |
cancel(boolean mayInterruptIfRunning) |
boolean |
close() |
void |
complete(org.agrona.DirectBuffer buff,
int offset,
int length) |
void |
fail(String failure,
Exception cause) |
org.agrona.DirectBuffer |
get() |
org.agrona.DirectBuffer |
get(long timeout,
TimeUnit unit) |
boolean |
isAwaitingResult() |
boolean |
isCancelled() |
boolean |
isClosed() |
boolean |
isDone() |
boolean |
isFailed() |
org.agrona.DirectBuffer |
join() |
public void awaitResult()
public boolean cancel(boolean mayInterruptIfRunning)
public boolean isCancelled()
isCancelled in interface Future<org.agrona.DirectBuffer>public boolean isFailed()
public boolean isAwaitingResult()
public org.agrona.DirectBuffer get()
throws InterruptedException,
ExecutionException
get in interface Future<org.agrona.DirectBuffer>InterruptedExceptionExecutionExceptionpublic org.agrona.DirectBuffer get(long timeout,
TimeUnit unit)
throws InterruptedException,
ExecutionException,
TimeoutException
get in interface Future<org.agrona.DirectBuffer>InterruptedExceptionExecutionExceptionTimeoutExceptionpublic void complete(org.agrona.DirectBuffer buff,
int offset,
int length)
public org.agrona.DirectBuffer join()
public boolean close()
public boolean isClosed()
Copyright © 2017–2018 camunda services GmbH. All rights reserved.