class com.mongodb.internal.connection.KillCursorProtocol implements com.mongodb.internal.connection.LegacyProtocol<java.lang.Void>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.mongodb.internal.connection.KillCursorProtocol
super_class: java.lang.Object
{
public static final com.mongodb.diagnostics.logging.Logger LOGGER;
descriptor: Lcom/mongodb/diagnostics/logging/Logger;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private static final java.lang.String COMMAND_NAME;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "killCursors"
private final com.mongodb.MongoNamespace namespace;
descriptor: Lcom/mongodb/MongoNamespace;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.List<java.lang.Long> cursors;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljava/lang/Long;>;
private com.mongodb.event.CommandListener commandListener;
descriptor: Lcom/mongodb/event/CommandListener;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "protocol.killcursor"
invokestatic com.mongodb.diagnostics.logging.Loggers.getLogger:(Ljava/lang/String;)Lcom/mongodb/diagnostics/logging/Logger;
putstatic com.mongodb.internal.connection.KillCursorProtocol.LOGGER:Lcom/mongodb/diagnostics/logging/Logger;
1: return
LocalVariableTable:
Start End Slot Name Signature
void <init>(com.mongodb.MongoNamespace, java.util.List<java.lang.Long>);
descriptor: (Lcom/mongodb/MongoNamespace;Ljava/util/List;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield com.mongodb.internal.connection.KillCursorProtocol.namespace:Lcom/mongodb/MongoNamespace;
2: aload 0
aload 2
putfield com.mongodb.internal.connection.KillCursorProtocol.cursors:Ljava/util/List;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/mongodb/internal/connection/KillCursorProtocol;
0 4 1 namespace Lcom/mongodb/MongoNamespace;
0 4 2 cursors Ljava/util/List<Ljava/lang/Long;>;
Signature: (Lcom/mongodb/MongoNamespace;Ljava/util/List<Ljava/lang/Long;>;)V
MethodParameters:
Name Flags
namespace final
cursors final
public java.lang.Void execute(com.mongodb.internal.connection.InternalConnection);
descriptor: (Lcom/mongodb/internal/connection/InternalConnection;)Ljava/lang/Void;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=8, args_size=2
start local 0 start local 1 0: getstatic com.mongodb.internal.connection.KillCursorProtocol.LOGGER:Lcom/mongodb/diagnostics/logging/Logger;
invokeinterface com.mongodb.diagnostics.logging.Logger.isDebugEnabled:()Z
ifeq 4
1: getstatic com.mongodb.internal.connection.KillCursorProtocol.LOGGER:Lcom/mongodb/diagnostics/logging/Logger;
ldc "Killing cursors [%s] on connection [%s] to server %s"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual com.mongodb.internal.connection.KillCursorProtocol.getCursorIdListAsString:()Ljava/lang/String;
aastore
dup
iconst_1
2: aload 1
invokeinterface com.mongodb.internal.connection.InternalConnection.getDescription:()Lcom/mongodb/connection/ConnectionDescription;
invokevirtual com.mongodb.connection.ConnectionDescription.getConnectionId:()Lcom/mongodb/connection/ConnectionId;
aastore
dup
iconst_2
aload 1
invokeinterface com.mongodb.internal.connection.InternalConnection.getDescription:()Lcom/mongodb/connection/ConnectionDescription;
invokevirtual com.mongodb.connection.ConnectionDescription.getServerAddress:()Lcom/mongodb/ServerAddress;
aastore
3: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface com.mongodb.diagnostics.logging.Logger.debug:(Ljava/lang/String;)V
4: StackMap locals:
StackMap stack:
new com.mongodb.connection.ByteBufferBsonOutput
dup
aload 1
invokespecial com.mongodb.connection.ByteBufferBsonOutput.<init>:(Lcom/mongodb/connection/BufferProvider;)V
astore 2
start local 2 5: invokestatic java.lang.System.nanoTime:()J
lstore 3
start local 3 6: aconst_null
astore 5
start local 5 7: new com.mongodb.internal.connection.KillCursorsMessage
dup
aload 0
getfield com.mongodb.internal.connection.KillCursorProtocol.cursors:Ljava/util/List;
invokespecial com.mongodb.internal.connection.KillCursorsMessage.<init>:(Ljava/util/List;)V
astore 5
8: aload 0
getfield com.mongodb.internal.connection.KillCursorProtocol.commandListener:Lcom/mongodb/event/CommandListener;
ifnull 12
aload 0
getfield com.mongodb.internal.connection.KillCursorProtocol.namespace:Lcom/mongodb/MongoNamespace;
ifnull 12
9: aload 5
aload 0
getfield com.mongodb.internal.connection.KillCursorProtocol.namespace:Lcom/mongodb/MongoNamespace;
invokevirtual com.mongodb.MongoNamespace.getDatabaseName:()Ljava/lang/String;
ldc "killCursors"
aload 0
invokevirtual com.mongodb.internal.connection.KillCursorProtocol.asCommandDocument:()Lorg/bson/BsonDocument;
10: aload 1
invokeinterface com.mongodb.internal.connection.InternalConnection.getDescription:()Lcom/mongodb/connection/ConnectionDescription;
aload 0
getfield com.mongodb.internal.connection.KillCursorProtocol.commandListener:Lcom/mongodb/event/CommandListener;
11: invokestatic com.mongodb.internal.connection.ProtocolHelper.sendCommandStartedEvent:(Lcom/mongodb/internal/connection/RequestMessage;Ljava/lang/String;Ljava/lang/String;Lorg/bson/BsonDocument;Lcom/mongodb/connection/ConnectionDescription;Lcom/mongodb/event/CommandListener;)V
12: StackMap locals: com.mongodb.connection.ByteBufferBsonOutput long com.mongodb.internal.connection.KillCursorsMessage
StackMap stack:
aload 5
aload 2
getstatic com.mongodb.internal.connection.NoOpSessionContext.INSTANCE:Lcom/mongodb/internal/connection/NoOpSessionContext;
invokevirtual com.mongodb.internal.connection.KillCursorsMessage.encode:(Lorg/bson/io/BsonOutput;Lcom/mongodb/session/SessionContext;)V
13: aload 1
aload 2
invokevirtual com.mongodb.connection.ByteBufferBsonOutput.getByteBuffers:()Ljava/util/List;
aload 5
invokevirtual com.mongodb.internal.connection.KillCursorsMessage.getId:()I
invokeinterface com.mongodb.internal.connection.InternalConnection.sendMessage:(Ljava/util/List;I)V
14: aload 0
getfield com.mongodb.internal.connection.KillCursorProtocol.commandListener:Lcom/mongodb/event/CommandListener;
ifnull 19
aload 0
getfield com.mongodb.internal.connection.KillCursorProtocol.namespace:Lcom/mongodb/MongoNamespace;
ifnull 19
15: aload 5
ldc "killCursors"
aload 0
invokevirtual com.mongodb.internal.connection.KillCursorProtocol.asCommandResponseDocument:()Lorg/bson/BsonDocument;
16: aload 1
invokeinterface com.mongodb.internal.connection.InternalConnection.getDescription:()Lcom/mongodb/connection/ConnectionDescription;
17: invokestatic java.lang.System.nanoTime:()J
lload 3
lsub
aload 0
getfield com.mongodb.internal.connection.KillCursorProtocol.commandListener:Lcom/mongodb/event/CommandListener;
18: 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
19: StackMap locals:
StackMap stack:
aload 2
invokevirtual com.mongodb.connection.ByteBufferBsonOutput.close:()V
20: aconst_null
areturn
21: StackMap locals:
StackMap stack: java.lang.RuntimeException
astore 6
start local 6 22: aload 0
getfield com.mongodb.internal.connection.KillCursorProtocol.commandListener:Lcom/mongodb/event/CommandListener;
ifnull 26
aload 0
getfield com.mongodb.internal.connection.KillCursorProtocol.namespace:Lcom/mongodb/MongoNamespace;
ifnull 26
23: aload 5
ldc "killCursors"
aload 1
invokeinterface com.mongodb.internal.connection.InternalConnection.getDescription:()Lcom/mongodb/connection/ConnectionDescription;
invokestatic java.lang.System.nanoTime:()J
lload 3
lsub
aload 6
24: aload 0
getfield com.mongodb.internal.connection.KillCursorProtocol.commandListener:Lcom/mongodb/event/CommandListener;
25: 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
26: StackMap locals: java.lang.RuntimeException
StackMap stack:
aload 6
athrow
end local 6 27: StackMap locals: com.mongodb.internal.connection.KillCursorProtocol com.mongodb.internal.connection.InternalConnection com.mongodb.connection.ByteBufferBsonOutput long com.mongodb.internal.connection.KillCursorsMessage
StackMap stack: java.lang.Throwable
astore 7
28: aload 2
invokevirtual com.mongodb.connection.ByteBufferBsonOutput.close:()V
29: aload 7
athrow
end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 this Lcom/mongodb/internal/connection/KillCursorProtocol;
0 30 1 connection Lcom/mongodb/internal/connection/InternalConnection;
5 30 2 bsonOutput Lcom/mongodb/connection/ByteBufferBsonOutput;
6 30 3 startTimeNanos J
7 30 5 message Lcom/mongodb/internal/connection/KillCursorsMessage;
22 27 6 e Ljava/lang/RuntimeException;
Exception table:
from to target type
7 19 21 Class java.lang.RuntimeException
7 19 27 any
21 27 27 any
MethodParameters:
Name Flags
connection final
public void executeAsync(com.mongodb.internal.connection.InternalConnection, com.mongodb.async.SingleResultCallback<java.lang.Void>);
descriptor: (Lcom/mongodb/internal/connection/InternalConnection;Lcom/mongodb/async/SingleResultCallback;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=12, locals=8, args_size=3
start local 0 start local 1 start local 2 0: invokestatic java.lang.System.nanoTime:()J
lstore 3
start local 3 1: new com.mongodb.internal.connection.KillCursorsMessage
dup
aload 0
getfield com.mongodb.internal.connection.KillCursorProtocol.cursors:Ljava/util/List;
invokespecial com.mongodb.internal.connection.KillCursorsMessage.<init>:(Ljava/util/List;)V
astore 5
start local 5 2: iconst_0
istore 6
start local 6 3: getstatic com.mongodb.internal.connection.KillCursorProtocol.LOGGER:Lcom/mongodb/diagnostics/logging/Logger;
invokeinterface com.mongodb.diagnostics.logging.Logger.isDebugEnabled:()Z
ifeq 7
4: getstatic com.mongodb.internal.connection.KillCursorProtocol.LOGGER:Lcom/mongodb/diagnostics/logging/Logger;
ldc "Asynchronously killing cursors [%s] on connection [%s] to server %s"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual com.mongodb.internal.connection.KillCursorProtocol.getCursorIdListAsString:()Ljava/lang/String;
aastore
dup
iconst_1
5: aload 1
invokeinterface com.mongodb.internal.connection.InternalConnection.getDescription:()Lcom/mongodb/connection/ConnectionDescription;
invokevirtual com.mongodb.connection.ConnectionDescription.getConnectionId:()Lcom/mongodb/connection/ConnectionId;
aastore
dup
iconst_2
aload 1
invokeinterface com.mongodb.internal.connection.InternalConnection.getDescription:()Lcom/mongodb/connection/ConnectionDescription;
invokevirtual com.mongodb.connection.ConnectionDescription.getServerAddress:()Lcom/mongodb/ServerAddress;
aastore
6: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface com.mongodb.diagnostics.logging.Logger.debug:(Ljava/lang/String;)V
7: StackMap locals: long com.mongodb.internal.connection.KillCursorsMessage int
StackMap stack:
new com.mongodb.connection.ByteBufferBsonOutput
dup
aload 1
invokespecial com.mongodb.connection.ByteBufferBsonOutput.<init>:(Lcom/mongodb/connection/BufferProvider;)V
astore 7
start local 7 8: aload 0
getfield com.mongodb.internal.connection.KillCursorProtocol.commandListener:Lcom/mongodb/event/CommandListener;
ifnull 13
aload 0
getfield com.mongodb.internal.connection.KillCursorProtocol.namespace:Lcom/mongodb/MongoNamespace;
ifnull 13
9: aload 5
aload 0
getfield com.mongodb.internal.connection.KillCursorProtocol.namespace:Lcom/mongodb/MongoNamespace;
invokevirtual com.mongodb.MongoNamespace.getDatabaseName:()Ljava/lang/String;
ldc "killCursors"
aload 0
invokevirtual com.mongodb.internal.connection.KillCursorProtocol.asCommandDocument:()Lorg/bson/BsonDocument;
10: aload 1
invokeinterface com.mongodb.internal.connection.InternalConnection.getDescription:()Lcom/mongodb/connection/ConnectionDescription;
aload 0
getfield com.mongodb.internal.connection.KillCursorProtocol.commandListener:Lcom/mongodb/event/CommandListener;
11: invokestatic com.mongodb.internal.connection.ProtocolHelper.sendCommandStartedEvent:(Lcom/mongodb/internal/connection/RequestMessage;Ljava/lang/String;Ljava/lang/String;Lorg/bson/BsonDocument;Lcom/mongodb/connection/ConnectionDescription;Lcom/mongodb/event/CommandListener;)V
12: iconst_1
istore 6
13: StackMap locals: com.mongodb.connection.ByteBufferBsonOutput
StackMap stack:
aload 5
aload 7
getstatic com.mongodb.internal.connection.NoOpSessionContext.INSTANCE:Lcom/mongodb/internal/connection/NoOpSessionContext;
invokevirtual com.mongodb.internal.connection.KillCursorsMessage.encode:(Lorg/bson/io/BsonOutput;Lcom/mongodb/session/SessionContext;)V
14: aload 1
aload 7
invokevirtual com.mongodb.connection.ByteBufferBsonOutput.getByteBuffers:()Ljava/util/List;
aload 5
invokevirtual com.mongodb.internal.connection.KillCursorsMessage.getId:()I
new com.mongodb.internal.connection.KillCursorProtocol$1
dup
aload 0
aload 5
aload 1
lload 3
aload 7
aload 2
invokespecial com.mongodb.internal.connection.KillCursorProtocol$1.<init>:(Lcom/mongodb/internal/connection/KillCursorProtocol;Lcom/mongodb/internal/connection/KillCursorsMessage;Lcom/mongodb/internal/connection/InternalConnection;JLcom/mongodb/connection/ByteBufferBsonOutput;Lcom/mongodb/async/SingleResultCallback;)V
invokeinterface com.mongodb.internal.connection.InternalConnection.sendMessageAsync:(Ljava/util/List;ILcom/mongodb/async/SingleResultCallback;)V
end local 7 15: goto 22
StackMap locals: com.mongodb.internal.connection.KillCursorProtocol com.mongodb.internal.connection.InternalConnection com.mongodb.async.SingleResultCallback long com.mongodb.internal.connection.KillCursorsMessage int
StackMap stack: java.lang.Throwable
16: astore 7
start local 7 17: iload 6
ifeq 21
18: aload 5
ldc "killCursors"
aload 1
invokeinterface com.mongodb.internal.connection.InternalConnection.getDescription:()Lcom/mongodb/connection/ConnectionDescription;
invokestatic java.lang.System.nanoTime:()J
lload 3
lsub
19: aload 7
aload 0
getfield com.mongodb.internal.connection.KillCursorProtocol.commandListener:Lcom/mongodb/event/CommandListener;
20: 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
21: StackMap locals: java.lang.Throwable
StackMap stack:
aload 2
aconst_null
aload 7
invokeinterface com.mongodb.async.SingleResultCallback.onResult:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 7 22: StackMap locals:
StackMap stack:
return
end local 6 end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lcom/mongodb/internal/connection/KillCursorProtocol;
0 23 1 connection Lcom/mongodb/internal/connection/InternalConnection;
0 23 2 callback Lcom/mongodb/async/SingleResultCallback<Ljava/lang/Void;>;
1 23 3 startTimeNanos J
2 23 5 message Lcom/mongodb/internal/connection/KillCursorsMessage;
3 23 6 startEventSent Z
8 15 7 bsonOutput Lcom/mongodb/connection/ByteBufferBsonOutput;
17 22 7 t Ljava/lang/Throwable;
Exception table:
from to target type
3 15 16 Class java.lang.Throwable
Signature: (Lcom/mongodb/internal/connection/InternalConnection;Lcom/mongodb/async/SingleResultCallback<Ljava/lang/Void;>;)V
MethodParameters:
Name Flags
connection final
callback final
public void setCommandListener(com.mongodb.event.CommandListener);
descriptor: (Lcom/mongodb/event/CommandListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.mongodb.internal.connection.KillCursorProtocol.commandListener:Lcom/mongodb/event/CommandListener;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/internal/connection/KillCursorProtocol;
0 2 1 commandListener Lcom/mongodb/event/CommandListener;
MethodParameters:
Name Flags
commandListener final
private org.bson.BsonDocument asCommandDocument();
descriptor: ()Lorg/bson/BsonDocument;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=5, args_size=1
start local 0 0: new org.bson.BsonArray
dup
invokespecial org.bson.BsonArray.<init>:()V
astore 1
start local 1 1: aload 0
getfield com.mongodb.internal.connection.KillCursorProtocol.cursors:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 4
StackMap locals: com.mongodb.internal.connection.KillCursorProtocol org.bson.BsonArray top top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Long
invokevirtual java.lang.Long.longValue:()J
lstore 2
start local 2 3: aload 1
new org.bson.BsonInt64
dup
lload 2
invokespecial org.bson.BsonInt64.<init>:(J)V
invokevirtual org.bson.BsonArray.add:(Lorg/bson/BsonValue;)Z
pop
end local 2 4: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: new org.bson.BsonDocument
dup
ldc "killCursors"
aload 0
getfield com.mongodb.internal.connection.KillCursorProtocol.namespace:Lcom/mongodb/MongoNamespace;
ifnonnull 6
new org.bson.BsonInt32
dup
iconst_1
invokespecial org.bson.BsonInt32.<init>:(I)V
goto 7
StackMap locals: com.mongodb.internal.connection.KillCursorProtocol org.bson.BsonArray
StackMap stack: new 5 new 5 java.lang.String
6: new org.bson.BsonString
dup
aload 0
getfield com.mongodb.internal.connection.KillCursorProtocol.namespace:Lcom/mongodb/MongoNamespace;
invokevirtual com.mongodb.MongoNamespace.getCollectionName:()Ljava/lang/String;
invokespecial org.bson.BsonString.<init>:(Ljava/lang/String;)V
StackMap locals: com.mongodb.internal.connection.KillCursorProtocol org.bson.BsonArray
StackMap stack: new 5 new 5 java.lang.String org.bson.BsonValue
7: invokespecial org.bson.BsonDocument.<init>:(Ljava/lang/String;Lorg/bson/BsonValue;)V
8: ldc "cursors"
aload 1
invokevirtual org.bson.BsonDocument.append:(Ljava/lang/String;Lorg/bson/BsonValue;)Lorg/bson/BsonDocument;
9: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/mongodb/internal/connection/KillCursorProtocol;
1 10 1 array Lorg/bson/BsonArray;
3 4 2 cursor J
private org.bson.BsonDocument asCommandResponseDocument();
descriptor: ()Lorg/bson/BsonDocument;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=5, args_size=1
start local 0 0: new org.bson.BsonArray
dup
invokespecial org.bson.BsonArray.<init>:()V
astore 1
start local 1 1: aload 0
getfield com.mongodb.internal.connection.KillCursorProtocol.cursors:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 4
StackMap locals: com.mongodb.internal.connection.KillCursorProtocol org.bson.BsonArray top top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Long
invokevirtual java.lang.Long.longValue:()J
lstore 2
start local 2 3: aload 1
new org.bson.BsonInt64
dup
lload 2
invokespecial org.bson.BsonInt64.<init>:(J)V
invokevirtual org.bson.BsonArray.add:(Lorg/bson/BsonValue;)Z
pop
end local 2 4: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: new org.bson.BsonDocument
dup
ldc "ok"
new org.bson.BsonDouble
dup
dconst_1
invokespecial org.bson.BsonDouble.<init>:(D)V
invokespecial org.bson.BsonDocument.<init>:(Ljava/lang/String;Lorg/bson/BsonValue;)V
6: ldc "cursorsUnknown"
aload 1
invokevirtual org.bson.BsonDocument.append:(Ljava/lang/String;Lorg/bson/BsonValue;)Lorg/bson/BsonDocument;
7: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/mongodb/internal/connection/KillCursorProtocol;
1 8 1 cursorIdArray Lorg/bson/BsonArray;
3 4 2 cursorId J
private java.lang.String getCursorIdListAsString();
descriptor: ()Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 8
3: StackMap locals: java.lang.StringBuilder int
StackMap stack:
aload 0
getfield com.mongodb.internal.connection.KillCursorProtocol.cursors:Ljava/util/List;
iload 2
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.Long
astore 3
start local 3 4: aload 1
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
5: iload 2
aload 0
getfield com.mongodb.internal.connection.KillCursorProtocol.cursors:Ljava/util/List;
invokeinterface java.util.List.size:()I
iconst_1
isub
if_icmpge 7
6: aload 1
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 3 7: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
8: iload 2
aload 0
getfield com.mongodb.internal.connection.KillCursorProtocol.cursors:Ljava/util/List;
invokeinterface java.util.List.size:()I
if_icmplt 3
end local 2 9: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/mongodb/internal/connection/KillCursorProtocol;
1 10 1 builder Ljava/lang/StringBuilder;
2 9 2 i I
4 7 3 cursor Ljava/lang/Long;
public java.lang.Object execute(com.mongodb.internal.connection.InternalConnection);
descriptor: (Lcom/mongodb/internal/connection/InternalConnection;)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual com.mongodb.internal.connection.KillCursorProtocol.execute:(Lcom/mongodb/internal/connection/InternalConnection;)Ljava/lang/Void;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Lcom/mongodb/internal/connection/LegacyProtocol<Ljava/lang/Void;>;
SourceFile: "KillCursorProtocol.java"
NestMembers:
com.mongodb.internal.connection.KillCursorProtocol$1
InnerClasses:
com.mongodb.internal.connection.KillCursorProtocol$1