final class com.mongodb.connection.netty.NettyStream$FutureAsyncCompletionHandler<T> implements com.mongodb.connection.AsyncCompletionHandler<T>
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: com.mongodb.connection.netty.NettyStream$FutureAsyncCompletionHandler
  super_class: java.lang.Object
{
  private final java.util.concurrent.CountDownLatch latch;
    descriptor: Ljava/util/concurrent/CountDownLatch;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private volatile T t;
    descriptor: Ljava/lang/Object;
    flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
    Signature: TT;

  private volatile java.lang.Throwable throwable;
    descriptor: Ljava/lang/Throwable;
    flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE

  void <init>();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // com.mongodb.connection.netty.NettyStream$FutureAsyncCompletionHandler this
         0: .line 351
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 347
            aload 0 /* this */
            new java.util.concurrent.CountDownLatch
            dup
            iconst_1
            invokespecial java.util.concurrent.CountDownLatch.<init>:(I)V
            putfield com.mongodb.connection.netty.NettyStream$FutureAsyncCompletionHandler.latch:Ljava/util/concurrent/CountDownLatch;
         2: .line 352
            return
        end local 0 // com.mongodb.connection.netty.NettyStream$FutureAsyncCompletionHandler this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lcom/mongodb/connection/netty/NettyStream$FutureAsyncCompletionHandler<TT;>;

  public void completed();
    descriptor: (Ljava/lang/Object;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // com.mongodb.connection.netty.NettyStream$FutureAsyncCompletionHandler this
        start local 1 // java.lang.Object t
         0: .line 356
            aload 0 /* this */
            aload 1 /* t */
            putfield com.mongodb.connection.netty.NettyStream$FutureAsyncCompletionHandler.t:Ljava/lang/Object;
         1: .line 357
            aload 0 /* this */
            getfield com.mongodb.connection.netty.NettyStream$FutureAsyncCompletionHandler.latch:Ljava/util/concurrent/CountDownLatch;
            invokevirtual java.util.concurrent.CountDownLatch.countDown:()V
         2: .line 358
            return
        end local 1 // java.lang.Object t
        end local 0 // com.mongodb.connection.netty.NettyStream$FutureAsyncCompletionHandler this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lcom/mongodb/connection/netty/NettyStream$FutureAsyncCompletionHandler<TT;>;
            0    3     1     t  TT;
    Signature: (TT;)V
    MethodParameters:
      Name  Flags
      t     final

  public void failed(java.lang.Throwable);
    descriptor: (Ljava/lang/Throwable;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // com.mongodb.connection.netty.NettyStream$FutureAsyncCompletionHandler this
        start local 1 // java.lang.Throwable t
         0: .line 362
            aload 0 /* this */
            aload 1 /* t */
            putfield com.mongodb.connection.netty.NettyStream$FutureAsyncCompletionHandler.throwable:Ljava/lang/Throwable;
         1: .line 363
            aload 0 /* this */
            getfield com.mongodb.connection.netty.NettyStream$FutureAsyncCompletionHandler.latch:Ljava/util/concurrent/CountDownLatch;
            invokevirtual java.util.concurrent.CountDownLatch.countDown:()V
         2: .line 364
            return
        end local 1 // java.lang.Throwable t
        end local 0 // com.mongodb.connection.netty.NettyStream$FutureAsyncCompletionHandler this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lcom/mongodb/connection/netty/NettyStream$FutureAsyncCompletionHandler<TT;>;
            0    3     1     t  Ljava/lang/Throwable;
    MethodParameters:
      Name  Flags
      t     final

  public T get();
    descriptor: ()Ljava/lang/Object;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=2, args_size=1
        start local 0 // com.mongodb.connection.netty.NettyStream$FutureAsyncCompletionHandler this
         0: .line 368
            aload 0 /* this */
            getfield com.mongodb.connection.netty.NettyStream$FutureAsyncCompletionHandler.latch:Ljava/util/concurrent/CountDownLatch;
            invokevirtual java.util.concurrent.CountDownLatch.await:()V
         1: .line 369
            aload 0 /* this */
            getfield com.mongodb.connection.netty.NettyStream$FutureAsyncCompletionHandler.throwable:Ljava/lang/Throwable;
            ifnull 7
         2: .line 370
            aload 0 /* this */
            getfield com.mongodb.connection.netty.NettyStream$FutureAsyncCompletionHandler.throwable:Ljava/lang/Throwable;
            instanceof java.io.IOException
            ifeq 4
         3: .line 371
            aload 0 /* this */
            getfield com.mongodb.connection.netty.NettyStream$FutureAsyncCompletionHandler.throwable:Ljava/lang/Throwable;
            checkcast java.io.IOException
            athrow
         4: .line 372
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.mongodb.connection.netty.NettyStream$FutureAsyncCompletionHandler.throwable:Ljava/lang/Throwable;
            instanceof com.mongodb.MongoException
            ifeq 6
         5: .line 373
            aload 0 /* this */
            getfield com.mongodb.connection.netty.NettyStream$FutureAsyncCompletionHandler.throwable:Ljava/lang/Throwable;
            checkcast com.mongodb.MongoException
            athrow
         6: .line 375
      StackMap locals:
      StackMap stack:
            new com.mongodb.MongoInternalException
            dup
            ldc "Exception thrown from Netty Stream"
            aload 0 /* this */
            getfield com.mongodb.connection.netty.NettyStream$FutureAsyncCompletionHandler.throwable:Ljava/lang/Throwable;
            invokespecial com.mongodb.MongoInternalException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
         7: .line 378
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.mongodb.connection.netty.NettyStream$FutureAsyncCompletionHandler.t:Ljava/lang/Object;
         8: areturn
         9: .line 379
      StackMap locals:
      StackMap stack: java.lang.InterruptedException
            astore 1 /* e */
        start local 1 // java.lang.InterruptedException e
        10: .line 380
            new com.mongodb.MongoInterruptedException
            dup
            ldc "Interrupted"
            aload 1 /* e */
            invokespecial com.mongodb.MongoInterruptedException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
            athrow
        end local 1 // java.lang.InterruptedException e
        end local 0 // com.mongodb.connection.netty.NettyStream$FutureAsyncCompletionHandler this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   11     0  this  Lcom/mongodb/connection/netty/NettyStream$FutureAsyncCompletionHandler<TT;>;
           10   11     1     e  Ljava/lang/InterruptedException;
      Exception table:
        from    to  target  type
           0     8       9  Class java.lang.InterruptedException
    Exceptions:
      throws java.io.IOException
    Signature: ()TT;
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;Lcom/mongodb/connection/AsyncCompletionHandler<TT;>;
SourceFile: "NettyStream.java"
NestHost: com.mongodb.connection.netty.NettyStream
InnerClasses:
  private final FutureAsyncCompletionHandler = com.mongodb.connection.netty.NettyStream$FutureAsyncCompletionHandler of com.mongodb.connection.netty.NettyStream