class com.mongodb.internal.connection.AsynchronousChannelStream$1 implements com.mongodb.connection.AsyncCompletionHandler<java.lang.Void>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.mongodb.internal.connection.AsynchronousChannelStream$1
super_class: java.lang.Object
{
final com.mongodb.internal.connection.AsynchronousChannelStream this$0;
descriptor: Lcom/mongodb/internal/connection/AsynchronousChannelStream;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private final java.util.Iterator val$iter;
descriptor: Ljava/util/Iterator;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final com.mongodb.internal.connection.AsynchronousChannelStream$AsyncWritableByteChannelAdapter val$byteChannel;
descriptor: Lcom/mongodb/internal/connection/AsynchronousChannelStream$AsyncWritableByteChannelAdapter;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final com.mongodb.connection.AsyncCompletionHandler val$handler;
descriptor: Lcom/mongodb/connection/AsyncCompletionHandler;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(com.mongodb.internal.connection.AsynchronousChannelStream, java.util.Iterator, com.mongodb.internal.connection.AsynchronousChannelStream$AsyncWritableByteChannelAdapter, com.mongodb.connection.AsyncCompletionHandler);
descriptor: (Lcom/mongodb/internal/connection/AsynchronousChannelStream;Ljava/util/Iterator;Lcom/mongodb/internal/connection/AsynchronousChannelStream$AsyncWritableByteChannelAdapter;Lcom/mongodb/connection/AsyncCompletionHandler;)V
flags: (0x0000)
Code:
stack=2, locals=5, args_size=5
start local 0 0: aload 0
aload 1
putfield com.mongodb.internal.connection.AsynchronousChannelStream$1.this$0:Lcom/mongodb/internal/connection/AsynchronousChannelStream;
aload 0
aload 2
putfield com.mongodb.internal.connection.AsynchronousChannelStream$1.val$iter:Ljava/util/Iterator;
aload 0
aload 3
putfield com.mongodb.internal.connection.AsynchronousChannelStream$1.val$byteChannel:Lcom/mongodb/internal/connection/AsynchronousChannelStream$AsyncWritableByteChannelAdapter;
aload 0
aload 4
putfield com.mongodb.internal.connection.AsynchronousChannelStream$1.val$handler:Lcom/mongodb/connection/AsyncCompletionHandler;
aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/internal/connection/AsynchronousChannelStream$1;
MethodParameters:
Name Flags
this$0 final
val$iter final
val$byteChannel final
val$handler final
public void completed(java.lang.Void);
descriptor: (Ljava/lang/Void;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.mongodb.internal.connection.AsynchronousChannelStream$1.val$iter:Ljava/util/Iterator;
invokeinterface java.util.Iterator.hasNext:()Z
ifeq 3
1: aload 0
getfield com.mongodb.internal.connection.AsynchronousChannelStream$1.this$0:Lcom/mongodb/internal/connection/AsynchronousChannelStream;
aload 0
getfield com.mongodb.internal.connection.AsynchronousChannelStream$1.val$byteChannel:Lcom/mongodb/internal/connection/AsynchronousChannelStream$AsyncWritableByteChannelAdapter;
aload 0
getfield com.mongodb.internal.connection.AsynchronousChannelStream$1.val$iter:Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.bson.ByteBuf
aload 0
invokevirtual com.mongodb.internal.connection.AsynchronousChannelStream.pipeOneBuffer:(Lcom/mongodb/internal/connection/AsynchronousChannelStream$AsyncWritableByteChannelAdapter;Lorg/bson/ByteBuf;Lcom/mongodb/connection/AsyncCompletionHandler;)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.internal.connection.AsynchronousChannelStream$1.val$handler:Lcom/mongodb/connection/AsyncCompletionHandler;
aconst_null
invokeinterface com.mongodb.connection.AsyncCompletionHandler.completed:(Ljava/lang/Object;)V
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/mongodb/internal/connection/AsynchronousChannelStream$1;
0 5 1 t Ljava/lang/Void;
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 start local 1 0: aload 0
getfield com.mongodb.internal.connection.AsynchronousChannelStream$1.val$handler:Lcom/mongodb/connection/AsyncCompletionHandler;
aload 1
invokeinterface com.mongodb.connection.AsyncCompletionHandler.failed:(Ljava/lang/Throwable;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/internal/connection/AsynchronousChannelStream$1;
0 2 1 t Ljava/lang/Throwable;
MethodParameters:
Name Flags
t final
public void completed(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast java.lang.Void
invokevirtual com.mongodb.internal.connection.AsynchronousChannelStream$1.completed:(Ljava/lang/Void;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Lcom/mongodb/connection/AsyncCompletionHandler<Ljava/lang/Void;>;
SourceFile: "AsynchronousChannelStream.java"
EnclosingMethod: com.mongodb.internal.connection.AsynchronousChannelStream.writeAsync:(Ljava/util/List;Lcom/mongodb/connection/AsyncCompletionHandler;)V
NestHost: com.mongodb.internal.connection.AsynchronousChannelStream
InnerClasses:
com.mongodb.internal.connection.AsynchronousChannelStream$1
private AsyncWritableByteChannelAdapter = com.mongodb.internal.connection.AsynchronousChannelStream$AsyncWritableByteChannelAdapter of com.mongodb.internal.connection.AsynchronousChannelStream