|
XNIO API 2.1.0.CR2 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Cancellable | |
|---|---|
| org.jboss.xnio | The main API package for XNIO. |
| Uses of Cancellable in org.jboss.xnio |
|---|
| Subinterfaces of Cancellable in org.jboss.xnio | |
|---|---|
interface |
IoFuture<T>
The future result of an asynchronous request. |
| Classes in org.jboss.xnio that implement Cancellable | |
|---|---|
class |
AbstractConvertingIoFuture<T,D>
An IoFuture implementation that wraps a different type of IoFuture. |
class |
AbstractIoFuture<T>
An abstract base class for IoFuture objects. |
class |
FailedIoFuture<T>
An implementation of IoFuture that represents an immediately-failed operation. |
class |
FinishedIoFuture<T>
An implementation of IoFuture that represents an immediately-successful operation. |
| Methods in org.jboss.xnio that return Cancellable | |
|---|---|
Cancellable |
Cancellable.cancel()
Cancel an operation. |
static Cancellable |
IoUtils.closingCancellable(Closeable c)
A cancellable which closes the given resource on cancel. |
static Cancellable |
IoUtils.nullCancellable()
Get the null cancellable. |
| Methods in org.jboss.xnio with parameters of type Cancellable | |
|---|---|
void |
FutureResult.addCancelHandler(Cancellable cancellable)
Add a cancellation handler. |
protected void |
AbstractIoFuture.addCancelHandler(Cancellable cancellable)
Add a cancellation handler. |
|
XNIO API 2.1.0.CR2 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||