Uses of Interface
org.xnio.Cancellable
Packages that use Cancellable
-
Uses of Cancellable in org.xnio
Subinterfaces of Cancellable in org.xnioModifier and TypeInterfaceDescriptioninterface
IoFuture<T>
The future result of an asynchronous request.Classes in org.xnio that implement CancellableModifier and TypeClassDescriptionclass
AnIoFuture
implementation that wraps a different type ofIoFuture
.class
An abstract base class forIoFuture
objects.class
An implementation ofIoFuture
that represents an immediately-failed operation.class
An implementation ofIoFuture
that represents an immediately-successful operation.Methods in org.xnio that return CancellableModifier and TypeMethodDescriptionCancellable.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.xnio with parameters of type CancellableModifier and TypeMethodDescriptionprotected void
AbstractIoFuture.addCancelHandler
(Cancellable cancellable) Add a cancellation handler.void
FutureResult.addCancelHandler
(Cancellable cancellable) Add a cancellation handler.