Class AbstractFuture<V>

java.lang.Object
io.netty.util.concurrent.AbstractFuture<V>
Type Parameters:
V -
All Implemented Interfaces:
Future<V>, java.util.concurrent.Future<V>
Direct Known Subclasses:
CompleteFuture, DefaultPromise, VoidChannelPromise

public abstract class AbstractFuture<V> extends java.lang.Object implements Future<V>
Abstract Future implementation which does not allow for cancellation.
  • Constructor Details

    • AbstractFuture

      public AbstractFuture()
  • Method Details

    • get

      public V get() throws java.lang.InterruptedException, java.util.concurrent.ExecutionException
      Specified by:
      get in interface java.util.concurrent.Future<V>
      Throws:
      java.lang.InterruptedException
      java.util.concurrent.ExecutionException
    • get

      public V get(long timeout, java.util.concurrent.TimeUnit unit) throws java.lang.InterruptedException, java.util.concurrent.ExecutionException, java.util.concurrent.TimeoutException
      Specified by:
      get in interface java.util.concurrent.Future<V>
      Throws:
      java.lang.InterruptedException
      java.util.concurrent.ExecutionException
      java.util.concurrent.TimeoutException