public interface FutureImpl<R> extends GrizzlyFuture<R>
Future
interface, which has full control over the state.Future
Modifier and Type | Method and Description |
---|---|
void |
failure(Throwable failure)
Notify about the failure, occurred during asynchronous operation execution.
|
R |
getResult()
Get current result value without any blocking.
|
void |
result(R result)
Set the result value and notify about operation completion.
|
addCompletionHandler, markForRecycle, recycle
R getResult()
void result(R result)
result
- the result valuevoid failure(Throwable failure)
failure
- Copyright © 2015 Oracle Corporation. All rights reserved.