Module 
Package org.xnio

Class FailedIoFuture<T>

  • Type Parameters:
    T - the type of result that this operation produces
    All Implemented Interfaces:
    Cancellable, IoFuture<T>

    public class FailedIoFuture<T>
    extends AbstractIoFuture<T>
    An implementation of IoFuture that represents an immediately-failed operation.
    • Constructor Detail

      • FailedIoFuture

        public FailedIoFuture​(java.io.IOException e)
        Create an instance.
        Parameters:
        e - the failure cause