|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.xnio.AbstractIoFuture<T>
org.jboss.xnio.FinishedIoFuture<T>
T - the type of result that this operation producespublic class FinishedIoFuture<T>
An implementation of IoFuture that represents an immediately-successful operation.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.jboss.xnio.IoFuture |
|---|
IoFuture.HandlingNotifier<T,A>, IoFuture.Notifier<T,A>, IoFuture.Status |
| Constructor Summary | |
|---|---|
FinishedIoFuture(T result)
Create an instance. |
|
| Method Summary | |
|---|---|
IoFuture<T> |
cancel()
Cancel the operation. |
| Methods inherited from class org.jboss.xnio.AbstractIoFuture |
|---|
addNotifier, await, await, awaitInterruptibly, awaitInterruptibly, finishCancel, get, getException, getInterruptibly, getNotifierExecutor, getStatus, runNotifier, setException, setResult |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FinishedIoFuture(T result)
result - the operation result| Method Detail |
|---|
public IoFuture<T> cancel()
cancel in interface IoFuture<T>cancel in class AbstractIoFuture<T>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||