|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FutureImpl<R>
Future interface, which has full control over the state.
Future| Method Summary | |
|---|---|
void |
failure(java.lang.Throwable failure)
Notify about the failure, occured 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. |
| Methods inherited from interface org.glassfish.grizzly.GrizzlyFuture |
|---|
markForRecycle, recycle |
| Methods inherited from interface java.util.concurrent.Future |
|---|
cancel, get, get, isCancelled, isDone |
| Methods inherited from interface org.glassfish.grizzly.Cacheable |
|---|
recycle |
| Method Detail |
|---|
R getResult()
void result(R result)
result - the result valuevoid failure(java.lang.Throwable failure)
failure -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||