Package org.xnio

Class FailedIoFuture<T>

java.lang.Object
org.xnio.AbstractIoFuture<T>
org.xnio.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 Details

    • FailedIoFuture

      public FailedIoFuture(IOException e)
      Create an instance.
      Parameters:
      e - the failure cause
  • Method Details