class com.mongodb.internal.connection.FutureAsyncCompletionHandler<T> implements com.mongodb.connection.AsyncCompletionHandler<T>
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: com.mongodb.internal.connection.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 result;
    descriptor: Ljava/lang/Object;
    flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
    Signature: TT;

  private volatile java.lang.Throwable error;
    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.internal.connection.FutureAsyncCompletionHandler this
         0: .line 27
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 28
            aload 0 /* this */
            new java.util.concurrent.CountDownLatch
            dup
            iconst_1
            invokespecial java.util.concurrent.CountDownLatch.<init>:(I)V
            putfield com.mongodb.internal.connection.FutureAsyncCompletionHandler.latch:Ljava/util/concurrent/CountDownLatch;
         2: .line 27
            return
        end local 0 // com.mongodb.internal.connection.FutureAsyncCompletionHandler this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lcom/mongodb/internal/connection/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.internal.connection.FutureAsyncCompletionHandler this
        start local 1 // java.lang.Object result
         0: .line 34
            aload 0 /* this */
            aload 1 /* result */
            putfield com.mongodb.internal.connection.FutureAsyncCompletionHandler.result:Ljava/lang/Object;
         1: .line 35
            aload 0 /* this */
            getfield com.mongodb.internal.connection.FutureAsyncCompletionHandler.latch:Ljava/util/concurrent/CountDownLatch;
            invokevirtual java.util.concurrent.CountDownLatch.countDown:()V
         2: .line 36
            return
        end local 1 // java.lang.Object result
        end local 0 // com.mongodb.internal.connection.FutureAsyncCompletionHandler this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    3     0    this  Lcom/mongodb/internal/connection/FutureAsyncCompletionHandler<TT;>;
            0    3     1  result  TT;
    Signature: (TT;)V
    MethodParameters:
        Name  Flags
      result  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.internal.connection.FutureAsyncCompletionHandler this
        start local 1 // java.lang.Throwable t
         0: .line 40
            aload 0 /* this */
            aload 1 /* t */
            putfield com.mongodb.internal.connection.FutureAsyncCompletionHandler.error:Ljava/lang/Throwable;
         1: .line 41
            aload 0 /* this */
            getfield com.mongodb.internal.connection.FutureAsyncCompletionHandler.latch:Ljava/util/concurrent/CountDownLatch;
            invokevirtual java.util.concurrent.CountDownLatch.countDown:()V
         2: .line 42
            return
        end local 1 // java.lang.Throwable t
        end local 0 // com.mongodb.internal.connection.FutureAsyncCompletionHandler this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lcom/mongodb/internal/connection/FutureAsyncCompletionHandler<TT;>;
            0    3     1     t  Ljava/lang/Throwable;
    MethodParameters:
      Name  Flags
      t     final

  public void getOpen();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // com.mongodb.internal.connection.FutureAsyncCompletionHandler this
         0: .line 45
            aload 0 /* this */
            ldc "Opening"
            invokevirtual com.mongodb.internal.connection.FutureAsyncCompletionHandler.get:(Ljava/lang/String;)Ljava/lang/Object;
            pop
         1: .line 46
            return
        end local 0 // com.mongodb.internal.connection.FutureAsyncCompletionHandler this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lcom/mongodb/internal/connection/FutureAsyncCompletionHandler<TT;>;
    Exceptions:
      throws java.io.IOException

  public void getWrite();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // com.mongodb.internal.connection.FutureAsyncCompletionHandler this
         0: .line 49
            aload 0 /* this */
            ldc "Writing to"
            invokevirtual com.mongodb.internal.connection.FutureAsyncCompletionHandler.get:(Ljava/lang/String;)Ljava/lang/Object;
            pop
         1: .line 50
            return
        end local 0 // com.mongodb.internal.connection.FutureAsyncCompletionHandler this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lcom/mongodb/internal/connection/FutureAsyncCompletionHandler<TT;>;
    Exceptions:
      throws java.io.IOException

  public T getRead();
    descriptor: ()Ljava/lang/Object;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // com.mongodb.internal.connection.FutureAsyncCompletionHandler this
         0: .line 53
            aload 0 /* this */
            ldc "Reading from"
            invokevirtual com.mongodb.internal.connection.FutureAsyncCompletionHandler.get:(Ljava/lang/String;)Ljava/lang/Object;
            areturn
        end local 0 // com.mongodb.internal.connection.FutureAsyncCompletionHandler this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/mongodb/internal/connection/FutureAsyncCompletionHandler<TT;>;
    Exceptions:
      throws java.io.IOException
    Signature: ()TT;

  private T get(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/lang/Object;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=3, args_size=2
        start local 0 // com.mongodb.internal.connection.FutureAsyncCompletionHandler this
        start local 1 // java.lang.String prefix
         0: .line 58
            aload 0 /* this */
            getfield com.mongodb.internal.connection.FutureAsyncCompletionHandler.latch:Ljava/util/concurrent/CountDownLatch;
            invokevirtual java.util.concurrent.CountDownLatch.await:()V
         1: .line 59
            goto 4
      StackMap locals:
      StackMap stack: java.lang.InterruptedException
         2: astore 2 /* e */
        start local 2 // java.lang.InterruptedException e
         3: .line 60
            new com.mongodb.MongoInterruptedException
            dup
            new java.lang.StringBuilder
            dup
            aload 1 /* prefix */
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc " the AsynchronousSocketChannelStream failed"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            aload 2 /* e */
            invokespecial com.mongodb.MongoInterruptedException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
            athrow
        end local 2 // java.lang.InterruptedException e
         4: .line 63
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.mongodb.internal.connection.FutureAsyncCompletionHandler.error:Ljava/lang/Throwable;
            ifnull 10
         5: .line 64
            aload 0 /* this */
            getfield com.mongodb.internal.connection.FutureAsyncCompletionHandler.error:Ljava/lang/Throwable;
            instanceof java.io.IOException
            ifeq 7
         6: .line 65
            aload 0 /* this */
            getfield com.mongodb.internal.connection.FutureAsyncCompletionHandler.error:Ljava/lang/Throwable;
            checkcast java.io.IOException
            athrow
         7: .line 66
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.mongodb.internal.connection.FutureAsyncCompletionHandler.error:Ljava/lang/Throwable;
            instanceof com.mongodb.MongoException
            ifeq 9
         8: .line 67
            aload 0 /* this */
            getfield com.mongodb.internal.connection.FutureAsyncCompletionHandler.error:Ljava/lang/Throwable;
            checkcast com.mongodb.MongoException
            athrow
         9: .line 69
      StackMap locals:
      StackMap stack:
            new com.mongodb.MongoInternalException
            dup
            new java.lang.StringBuilder
            dup
            aload 1 /* prefix */
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc " the AsynchronousSocketChannelStream failed"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            aload 0 /* this */
            getfield com.mongodb.internal.connection.FutureAsyncCompletionHandler.error:Ljava/lang/Throwable;
            invokespecial com.mongodb.MongoInternalException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        10: .line 72
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.mongodb.internal.connection.FutureAsyncCompletionHandler.result:Ljava/lang/Object;
            areturn
        end local 1 // java.lang.String prefix
        end local 0 // com.mongodb.internal.connection.FutureAsyncCompletionHandler this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   11     0    this  Lcom/mongodb/internal/connection/FutureAsyncCompletionHandler<TT;>;
            0   11     1  prefix  Ljava/lang/String;
            3    4     2       e  Ljava/lang/InterruptedException;
      Exception table:
        from    to  target  type
           0     1       2  Class java.lang.InterruptedException
    Exceptions:
      throws java.io.IOException
    Signature: (Ljava/lang/String;)TT;
    MethodParameters:
        Name  Flags
      prefix  final
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;Lcom/mongodb/connection/AsyncCompletionHandler<TT;>;
SourceFile: "FutureAsyncCompletionHandler.java"