Uses of Interface
org.xnio.Cancellable
-
Packages that use Cancellable Package Description org.xnio The main API package for XNIO. -
-
Uses of Cancellable in org.xnio
Subinterfaces of Cancellable in org.xnio Modifier and Type Interface Description interfaceIoFuture<T>The future result of an asynchronous request.Classes in org.xnio that implement Cancellable Modifier and Type Class Description classAbstractConvertingIoFuture<T,D>AnIoFutureimplementation that wraps a different type ofIoFuture.classAbstractIoFuture<T>An abstract base class forIoFutureobjects.classFailedIoFuture<T>An implementation ofIoFuturethat represents an immediately-failed operation.classFinishedIoFuture<T>An implementation ofIoFuturethat represents an immediately-successful operation.Methods in org.xnio that return Cancellable Modifier and Type Method Description CancellableCancellable. cancel()Cancel an operation.static CancellableIoUtils. closingCancellable(java.io.Closeable c)A cancellable which closes the given resource on cancel.static CancellableIoUtils. nullCancellable()Get the null cancellable.Methods in org.xnio with parameters of type Cancellable Modifier and Type Method Description protected voidAbstractIoFuture. addCancelHandler(Cancellable cancellable)Add a cancellation handler.voidFutureResult. addCancelHandler(Cancellable cancellable)Add a cancellation handler.
-