class com.mongodb.internal.connection.AsynchronousChannelStream$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.AsynchronousChannelStream$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.AsynchronousChannelStream$FutureAsyncCompletionHandler this
         0: .line 256
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 257
            aload 0 /* this */
            new java.util.concurrent.CountDownLatch
            dup
            iconst_1
            invokespecial java.util.concurrent.CountDownLatch.<init>:(I)V
            putfield com.mongodb.internal.connection.AsynchronousChannelStream$FutureAsyncCompletionHandler.latch:Ljava/util/concurrent/CountDownLatch;
         2: .line 256
            return
        end local 0 // com.mongodb.internal.connection.AsynchronousChannelStream$FutureAsyncCompletionHandler this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lcom/mongodb/internal/connection/AsynchronousChannelStream$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.AsynchronousChannelStream$FutureAsyncCompletionHandler this
        start local 1 // java.lang.Object result
         0: .line 263
            aload 0 /* this */
            aload 1 /* result */
            putfield com.mongodb.internal.connection.AsynchronousChannelStream$FutureAsyncCompletionHandler.result:Ljava/lang/Object;
         1: .line 264
            aload 0 /* this */
            getfield com.mongodb.internal.connection.AsynchronousChannelStream$FutureAsyncCompletionHandler.latch:Ljava/util/concurrent/CountDownLatch;
            invokevirtual java.util.concurrent.CountDownLatch.countDown:()V
         2: .line 265
            return
        end local 1 // java.lang.Object result
        end local 0 // com.mongodb.internal.connection.AsynchronousChannelStream$FutureAsyncCompletionHandler this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    3     0    this  Lcom/mongodb/internal/connection/AsynchronousChannelStream$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.AsynchronousChannelStream$FutureAsyncCompletionHandler this
        start local 1 // java.lang.Throwable t
         0: .line 269
            aload 0 /* this */
            aload 1 /* t */
            putfield com.mongodb.internal.connection.AsynchronousChannelStream$FutureAsyncCompletionHandler.error:Ljava/lang/Throwable;
         1: .line 270
            aload 0 /* this */
            getfield com.mongodb.internal.connection.AsynchronousChannelStream$FutureAsyncCompletionHandler.latch:Ljava/util/concurrent/CountDownLatch;
            invokevirtual java.util.concurrent.CountDownLatch.countDown:()V
         2: .line 271
            return
        end local 1 // java.lang.Throwable t
        end local 0 // com.mongodb.internal.connection.AsynchronousChannelStream$FutureAsyncCompletionHandler this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lcom/mongodb/internal/connection/AsynchronousChannelStream$FutureAsyncCompletionHandler<TT;>;
            0    3     1     t  Ljava/lang/Throwable;
    MethodParameters:
      Name  Flags
      t     final

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

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

  T getRead();
    descriptor: ()Ljava/lang/Object;
    flags: (0x0000) 
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // com.mongodb.internal.connection.AsynchronousChannelStream$FutureAsyncCompletionHandler this
         0: .line 282
            aload 0 /* this */
            ldc "Reading from"
            invokevirtual com.mongodb.internal.connection.AsynchronousChannelStream$FutureAsyncCompletionHandler.get:(Ljava/lang/String;)Ljava/lang/Object;
            areturn
        end local 0 // com.mongodb.internal.connection.AsynchronousChannelStream$FutureAsyncCompletionHandler this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/mongodb/internal/connection/AsynchronousChannelStream$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.AsynchronousChannelStream$FutureAsyncCompletionHandler this
        start local 1 // java.lang.String prefix
         0: .line 287
            aload 0 /* this */
            getfield com.mongodb.internal.connection.AsynchronousChannelStream$FutureAsyncCompletionHandler.latch:Ljava/util/concurrent/CountDownLatch;
            invokevirtual java.util.concurrent.CountDownLatch.await:()V
         1: .line 288
            goto 4
      StackMap locals:
      StackMap stack: java.lang.InterruptedException
         2: astore 2 /* e */
        start local 2 // java.lang.InterruptedException e
         3: .line 289
            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 292
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.mongodb.internal.connection.AsynchronousChannelStream$FutureAsyncCompletionHandler.error:Ljava/lang/Throwable;
            ifnull 10
         5: .line 293
            aload 0 /* this */
            getfield com.mongodb.internal.connection.AsynchronousChannelStream$FutureAsyncCompletionHandler.error:Ljava/lang/Throwable;
            instanceof java.io.IOException
            ifeq 7
         6: .line 294
            aload 0 /* this */
            getfield com.mongodb.internal.connection.AsynchronousChannelStream$FutureAsyncCompletionHandler.error:Ljava/lang/Throwable;
            checkcast java.io.IOException
            athrow
         7: .line 295
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.mongodb.internal.connection.AsynchronousChannelStream$FutureAsyncCompletionHandler.error:Ljava/lang/Throwable;
            instanceof com.mongodb.MongoException
            ifeq 9
         8: .line 296
            aload 0 /* this */
            getfield com.mongodb.internal.connection.AsynchronousChannelStream$FutureAsyncCompletionHandler.error:Ljava/lang/Throwable;
            checkcast com.mongodb.MongoException
            athrow
         9: .line 298
      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 TlsChannelStream 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.AsynchronousChannelStream$FutureAsyncCompletionHandler.error:Ljava/lang/Throwable;
            invokespecial com.mongodb.MongoInternalException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        10: .line 301
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.mongodb.internal.connection.AsynchronousChannelStream$FutureAsyncCompletionHandler.result:Ljava/lang/Object;
            areturn
        end local 1 // java.lang.String prefix
        end local 0 // com.mongodb.internal.connection.AsynchronousChannelStream$FutureAsyncCompletionHandler this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   11     0    this  Lcom/mongodb/internal/connection/AsynchronousChannelStream$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: "AsynchronousChannelStream.java"
NestHost: com.mongodb.internal.connection.AsynchronousChannelStream
InnerClasses:
  FutureAsyncCompletionHandler = com.mongodb.internal.connection.AsynchronousChannelStream$FutureAsyncCompletionHandler of com.mongodb.internal.connection.AsynchronousChannelStream