class com.mongodb.internal.connection.KillCursorProtocol$1 implements com.mongodb.async.SingleResultCallback<java.lang.Void>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.mongodb.internal.connection.KillCursorProtocol$1
super_class: java.lang.Object
{
final com.mongodb.internal.connection.KillCursorProtocol this$0;
descriptor: Lcom/mongodb/internal/connection/KillCursorProtocol;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private final com.mongodb.internal.connection.KillCursorsMessage val$message;
descriptor: Lcom/mongodb/internal/connection/KillCursorsMessage;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final com.mongodb.internal.connection.InternalConnection val$connection;
descriptor: Lcom/mongodb/internal/connection/InternalConnection;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final long val$startTimeNanos;
descriptor: J
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final com.mongodb.connection.ByteBufferBsonOutput val$bsonOutput;
descriptor: Lcom/mongodb/connection/ByteBufferBsonOutput;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final com.mongodb.async.SingleResultCallback val$callback;
descriptor: Lcom/mongodb/async/SingleResultCallback;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(com.mongodb.internal.connection.KillCursorProtocol, com.mongodb.internal.connection.KillCursorsMessage, com.mongodb.internal.connection.InternalConnection, long, com.mongodb.connection.ByteBufferBsonOutput, com.mongodb.async.SingleResultCallback);
descriptor: (Lcom/mongodb/internal/connection/KillCursorProtocol;Lcom/mongodb/internal/connection/KillCursorsMessage;Lcom/mongodb/internal/connection/InternalConnection;JLcom/mongodb/connection/ByteBufferBsonOutput;Lcom/mongodb/async/SingleResultCallback;)V
flags: (0x0000)
Code:
stack=3, locals=8, args_size=7
start local 0 0: aload 0
aload 1
putfield com.mongodb.internal.connection.KillCursorProtocol$1.this$0:Lcom/mongodb/internal/connection/KillCursorProtocol;
aload 0
aload 2
putfield com.mongodb.internal.connection.KillCursorProtocol$1.val$message:Lcom/mongodb/internal/connection/KillCursorsMessage;
aload 0
aload 3
putfield com.mongodb.internal.connection.KillCursorProtocol$1.val$connection:Lcom/mongodb/internal/connection/InternalConnection;
aload 0
lload 4
putfield com.mongodb.internal.connection.KillCursorProtocol$1.val$startTimeNanos:J
aload 0
aload 6
putfield com.mongodb.internal.connection.KillCursorProtocol$1.val$bsonOutput:Lcom/mongodb/connection/ByteBufferBsonOutput;
aload 0
aload 7
putfield com.mongodb.internal.connection.KillCursorProtocol$1.val$callback:Lcom/mongodb/async/SingleResultCallback;
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/KillCursorProtocol$1;
MethodParameters:
Name Flags
this$0 final
val$message final
val$connection final
val$startTimeNanos final
val$bsonOutput final
val$callback final
public void onResult(java.lang.Void, java.lang.Throwable);
descriptor: (Ljava/lang/Void;Ljava/lang/Throwable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.mongodb.internal.connection.KillCursorProtocol$1.this$0:Lcom/mongodb/internal/connection/KillCursorProtocol;
getfield com.mongodb.internal.connection.KillCursorProtocol.commandListener:Lcom/mongodb/event/CommandListener;
ifnull 10
aload 0
getfield com.mongodb.internal.connection.KillCursorProtocol$1.this$0:Lcom/mongodb/internal/connection/KillCursorProtocol;
getfield com.mongodb.internal.connection.KillCursorProtocol.namespace:Lcom/mongodb/MongoNamespace;
ifnull 10
1: aload 2
ifnull 6
2: aload 0
getfield com.mongodb.internal.connection.KillCursorProtocol$1.val$message:Lcom/mongodb/internal/connection/KillCursorsMessage;
ldc "killCursors"
aload 0
getfield com.mongodb.internal.connection.KillCursorProtocol$1.val$connection:Lcom/mongodb/internal/connection/InternalConnection;
invokeinterface com.mongodb.internal.connection.InternalConnection.getDescription:()Lcom/mongodb/connection/ConnectionDescription;
3: invokestatic java.lang.System.nanoTime:()J
aload 0
getfield com.mongodb.internal.connection.KillCursorProtocol$1.val$startTimeNanos:J
lsub
aload 2
aload 0
getfield com.mongodb.internal.connection.KillCursorProtocol$1.this$0:Lcom/mongodb/internal/connection/KillCursorProtocol;
getfield com.mongodb.internal.connection.KillCursorProtocol.commandListener:Lcom/mongodb/event/CommandListener;
4: invokestatic com.mongodb.internal.connection.ProtocolHelper.sendCommandFailedEvent:(Lcom/mongodb/internal/connection/RequestMessage;Ljava/lang/String;Lcom/mongodb/connection/ConnectionDescription;JLjava/lang/Throwable;Lcom/mongodb/event/CommandListener;)V
5: goto 10
6: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.internal.connection.KillCursorProtocol$1.val$message:Lcom/mongodb/internal/connection/KillCursorsMessage;
ldc "killCursors"
aload 0
getfield com.mongodb.internal.connection.KillCursorProtocol$1.this$0:Lcom/mongodb/internal/connection/KillCursorProtocol;
invokevirtual com.mongodb.internal.connection.KillCursorProtocol.asCommandResponseDocument:()Lorg/bson/BsonDocument;
7: aload 0
getfield com.mongodb.internal.connection.KillCursorProtocol$1.val$connection:Lcom/mongodb/internal/connection/InternalConnection;
invokeinterface com.mongodb.internal.connection.InternalConnection.getDescription:()Lcom/mongodb/connection/ConnectionDescription;
8: invokestatic java.lang.System.nanoTime:()J
aload 0
getfield com.mongodb.internal.connection.KillCursorProtocol$1.val$startTimeNanos:J
lsub
aload 0
getfield com.mongodb.internal.connection.KillCursorProtocol$1.this$0:Lcom/mongodb/internal/connection/KillCursorProtocol;
getfield com.mongodb.internal.connection.KillCursorProtocol.commandListener:Lcom/mongodb/event/CommandListener;
9: invokestatic com.mongodb.internal.connection.ProtocolHelper.sendCommandSucceededEvent:(Lcom/mongodb/internal/connection/RequestMessage;Ljava/lang/String;Lorg/bson/BsonDocument;Lcom/mongodb/connection/ConnectionDescription;JLcom/mongodb/event/CommandListener;)V
10: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.internal.connection.KillCursorProtocol$1.val$bsonOutput:Lcom/mongodb/connection/ByteBufferBsonOutput;
invokevirtual com.mongodb.connection.ByteBufferBsonOutput.close:()V
11: aload 0
getfield com.mongodb.internal.connection.KillCursorProtocol$1.val$callback:Lcom/mongodb/async/SingleResultCallback;
aload 1
aload 2
invokeinterface com.mongodb.async.SingleResultCallback.onResult:(Ljava/lang/Object;Ljava/lang/Throwable;)V
12: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/mongodb/internal/connection/KillCursorProtocol$1;
0 13 1 result Ljava/lang/Void;
0 13 2 t Ljava/lang/Throwable;
MethodParameters:
Name Flags
result final
t final
public void onResult(java.lang.Object, java.lang.Throwable);
descriptor: (Ljava/lang/Object;Ljava/lang/Throwable;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
checkcast java.lang.Void
aload 2
invokevirtual com.mongodb.internal.connection.KillCursorProtocol$1.onResult:(Ljava/lang/Void;Ljava/lang/Throwable;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Lcom/mongodb/async/SingleResultCallback<Ljava/lang/Void;>;
SourceFile: "KillCursorProtocol.java"
EnclosingMethod: com.mongodb.internal.connection.KillCursorProtocol.executeAsync:(Lcom/mongodb/internal/connection/InternalConnection;Lcom/mongodb/async/SingleResultCallback;)V
NestHost: com.mongodb.internal.connection.KillCursorProtocol
InnerClasses:
com.mongodb.internal.connection.KillCursorProtocol$1