Uses of Interface
org.xnio.Cancellable
Packages that use Cancellable
-
Uses of Cancellable in org.xnio
Subinterfaces of Cancellable in org.xnioModifier and TypeInterfaceDescriptioninterfaceIoFuture<T>The future result of an asynchronous request.Classes in org.xnio that implement CancellableModifier and TypeClassDescriptionclassAnIoFutureimplementation that wraps a different type ofIoFuture.classAn abstract base class forIoFutureobjects.classAn implementation ofIoFuturethat represents an immediately-failed operation.classAn implementation ofIoFuturethat represents an immediately-successful operation.Methods in org.xnio that return CancellableModifier and TypeMethodDescriptionCancellable.cancel()Cancel an operation.static CancellableIoUtils.closingCancellable(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 CancellableModifier and TypeMethodDescriptionprotected voidAbstractIoFuture.addCancelHandler(Cancellable cancellable) Add a cancellation handler.voidFutureResult.addCancelHandler(Cancellable cancellable) Add a cancellation handler.