Package | Description |
---|---|
org.xnio |
The main API package for XNIO.
|
Modifier and Type | Interface and Description |
---|---|
interface |
IoFuture<T>
The future result of an asynchronous request.
|
Modifier and Type | Class and Description |
---|---|
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. |
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
void |
FutureResult.addCancelHandler(Cancellable cancellable)
Add a cancellation handler.
|
protected void |
AbstractIoFuture.addCancelHandler(Cancellable cancellable)
Add a cancellation handler.
|
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.