class com.mongodb.internal.connection.KillCursorsMessage extends com.mongodb.internal.connection.LegacyMessage
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.mongodb.internal.connection.KillCursorsMessage
super_class: com.mongodb.internal.connection.LegacyMessage
{
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;>;
void <init>(java.util.List<java.lang.Long>);
descriptor: (Ljava/util/List;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 // com.mongodb.internal.connection.KillCursorsMessage this
start local 1 // java.util.List cursors
0: .line 34
aload 0 /* this */
getstatic com.mongodb.internal.connection.OpCode.OP_KILL_CURSORS:Lcom/mongodb/internal/connection/OpCode;
invokestatic com.mongodb.internal.connection.MessageSettings.builder:()Lcom/mongodb/internal/connection/MessageSettings$Builder;
invokevirtual com.mongodb.internal.connection.MessageSettings$Builder.build:()Lcom/mongodb/internal/connection/MessageSettings;
invokespecial com.mongodb.internal.connection.LegacyMessage.<init>:(Lcom/mongodb/internal/connection/OpCode;Lcom/mongodb/internal/connection/MessageSettings;)V
1: .line 35
aload 0 /* this */
ldc "cursors"
aload 1 /* cursors */
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
putfield com.mongodb.internal.connection.KillCursorsMessage.cursors:Ljava/util/List;
2: .line 36
return
end local 1 // java.util.List cursors
end local 0 // com.mongodb.internal.connection.KillCursorsMessage this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/mongodb/internal/connection/KillCursorsMessage;
0 3 1 cursors Ljava/util/List<Ljava/lang/Long;>;
Signature: (Ljava/util/List<Ljava/lang/Long;>;)V
MethodParameters:
Name Flags
cursors final
protected com.mongodb.internal.connection.RequestMessage$EncodingMetadata encodeMessageBodyWithMetadata(org.bson.io.BsonOutput);
descriptor: (Lorg/bson/io/BsonOutput;)Lcom/mongodb/internal/connection/RequestMessage$EncodingMetadata;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=2
start local 0 // com.mongodb.internal.connection.KillCursorsMessage this
start local 1 // org.bson.io.BsonOutput bsonOutput
0: .line 40
aload 0 /* this */
aload 0 /* this */
getfield com.mongodb.internal.connection.KillCursorsMessage.cursors:Ljava/util/List;
invokeinterface java.util.List.size:()I
aload 1 /* bsonOutput */
invokevirtual com.mongodb.internal.connection.KillCursorsMessage.writeKillCursorsPrologue:(ILorg/bson/io/BsonOutput;)V
1: .line 41
aload 0 /* this */
getfield com.mongodb.internal.connection.KillCursorsMessage.cursors:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: com.mongodb.internal.connection.KillCursorsMessage org.bson.io.BsonOutput top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Long
astore 2 /* cur */
start local 2 // java.lang.Long cur
3: .line 42
aload 1 /* bsonOutput */
aload 2 /* cur */
invokevirtual java.lang.Long.longValue:()J
invokeinterface org.bson.io.BsonOutput.writeInt64:(J)V
end local 2 // java.lang.Long cur
4: .line 41
StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: .line 44
new com.mongodb.internal.connection.RequestMessage$EncodingMetadata
dup
aload 1 /* bsonOutput */
invokeinterface org.bson.io.BsonOutput.getPosition:()I
invokespecial com.mongodb.internal.connection.RequestMessage$EncodingMetadata.<init>:(I)V
areturn
end local 1 // org.bson.io.BsonOutput bsonOutput
end local 0 // com.mongodb.internal.connection.KillCursorsMessage this
LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/mongodb/internal/connection/KillCursorsMessage;
0 6 1 bsonOutput Lorg/bson/io/BsonOutput;
3 4 2 cur Ljava/lang/Long;
MethodParameters:
Name Flags
bsonOutput final
private void writeKillCursorsPrologue(int, org.bson.io.BsonOutput);
descriptor: (ILorg/bson/io/BsonOutput;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 // com.mongodb.internal.connection.KillCursorsMessage this
start local 1 // int numCursors
start local 2 // org.bson.io.BsonOutput bsonOutput
0: .line 48
aload 2 /* bsonOutput */
iconst_0
invokeinterface org.bson.io.BsonOutput.writeInt32:(I)V
1: .line 49
aload 2 /* bsonOutput */
iload 1 /* numCursors */
invokeinterface org.bson.io.BsonOutput.writeInt32:(I)V
2: .line 50
return
end local 2 // org.bson.io.BsonOutput bsonOutput
end local 1 // int numCursors
end local 0 // com.mongodb.internal.connection.KillCursorsMessage this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/mongodb/internal/connection/KillCursorsMessage;
0 3 1 numCursors I
0 3 2 bsonOutput Lorg/bson/io/BsonOutput;
MethodParameters:
Name Flags
numCursors final
bsonOutput final
}
SourceFile: "KillCursorsMessage.java"
InnerClasses:
public final Builder = com.mongodb.internal.connection.MessageSettings$Builder of com.mongodb.internal.connection.MessageSettings
EncodingMetadata = com.mongodb.internal.connection.RequestMessage$EncodingMetadata of com.mongodb.internal.connection.RequestMessage