|
|||||||||
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.FailedIoFuture<T>
T
- the type of result that this operation producespublic class FailedIoFuture<T>
An implementation of IoFuture
that represents an immediately-failed 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 | |
---|---|
FailedIoFuture(java.io.IOException e)
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 FailedIoFuture(java.io.IOException e)
e
- the failure causeMethod 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 |