public final class com.mongodb.connection.SplittablePayload
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.mongodb.connection.SplittablePayload
super_class: java.lang.Object
{
private final com.mongodb.connection.SplittablePayload$Type payloadType;
descriptor: Lcom/mongodb/connection/SplittablePayload$Type;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.List<org.bson.BsonDocument> payload;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lorg/bson/BsonDocument;>;
private int position;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public void <init>(com.mongodb.connection.SplittablePayload$Type, java.util.List<org.bson.BsonDocument>);
descriptor: (Lcom/mongodb/connection/SplittablePayload$Type;Ljava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, 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
iconst_0
putfield com.mongodb.connection.SplittablePayload.position:I
2: aload 0
ldc "batchType"
aload 1
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.mongodb.connection.SplittablePayload$Type
putfield com.mongodb.connection.SplittablePayload.payloadType:Lcom/mongodb/connection/SplittablePayload$Type;
3: aload 0
ldc "payload"
aload 2
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
putfield com.mongodb.connection.SplittablePayload.payload:Ljava/util/List;
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/mongodb/connection/SplittablePayload;
0 5 1 payloadType Lcom/mongodb/connection/SplittablePayload$Type;
0 5 2 payload Ljava/util/List<Lorg/bson/BsonDocument;>;
Signature: (Lcom/mongodb/connection/SplittablePayload$Type;Ljava/util/List<Lorg/bson/BsonDocument;>;)V
MethodParameters:
Name Flags
payloadType final
payload final
public com.mongodb.connection.SplittablePayload$Type getPayloadType();
descriptor: ()Lcom/mongodb/connection/SplittablePayload$Type;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.connection.SplittablePayload.payloadType:Lcom/mongodb/connection/SplittablePayload$Type;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/connection/SplittablePayload;
public java.lang.String getPayloadName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.connection.SplittablePayload.payloadType:Lcom/mongodb/connection/SplittablePayload$Type;
getstatic com.mongodb.connection.SplittablePayload$Type.INSERT:Lcom/mongodb/connection/SplittablePayload$Type;
if_acmpne 2
1: ldc "documents"
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.connection.SplittablePayload.payloadType:Lcom/mongodb/connection/SplittablePayload$Type;
getstatic com.mongodb.connection.SplittablePayload$Type.UPDATE:Lcom/mongodb/connection/SplittablePayload$Type;
if_acmpeq 3
aload 0
getfield com.mongodb.connection.SplittablePayload.payloadType:Lcom/mongodb/connection/SplittablePayload$Type;
getstatic com.mongodb.connection.SplittablePayload$Type.REPLACE:Lcom/mongodb/connection/SplittablePayload$Type;
if_acmpne 4
3: StackMap locals:
StackMap stack:
ldc "updates"
areturn
4: StackMap locals:
StackMap stack:
ldc "deletes"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/mongodb/connection/SplittablePayload;
public java.util.List<org.bson.BsonDocument> getPayload();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.connection.SplittablePayload.payload:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/connection/SplittablePayload;
Signature: ()Ljava/util/List<Lorg/bson/BsonDocument;>;
public int getPosition();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.connection.SplittablePayload.position:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/connection/SplittablePayload;
public void setPosition(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield com.mongodb.connection.SplittablePayload.position:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/connection/SplittablePayload;
0 2 1 position I
MethodParameters:
Name Flags
position final
public boolean hasAnotherSplit();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.connection.SplittablePayload.payload:Ljava/util/List;
invokeinterface java.util.List.size:()I
aload 0
getfield com.mongodb.connection.SplittablePayload.position:I
if_icmple 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/connection/SplittablePayload;
public com.mongodb.connection.SplittablePayload getNextSplit();
descriptor: ()Lcom/mongodb/connection/SplittablePayload;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: ldc "hasAnotherSplit"
aload 0
invokevirtual com.mongodb.connection.SplittablePayload.hasAnotherSplit:()Z
invokestatic com.mongodb.assertions.Assertions.isTrue:(Ljava/lang/String;Z)V
1: aload 0
getfield com.mongodb.connection.SplittablePayload.payload:Ljava/util/List;
aload 0
getfield com.mongodb.connection.SplittablePayload.position:I
aload 0
getfield com.mongodb.connection.SplittablePayload.payload:Ljava/util/List;
invokeinterface java.util.List.size:()I
invokeinterface java.util.List.subList:(II)Ljava/util/List;
astore 1
start local 1 2: new com.mongodb.connection.SplittablePayload
dup
aload 0
getfield com.mongodb.connection.SplittablePayload.payloadType:Lcom/mongodb/connection/SplittablePayload$Type;
aload 1
invokespecial com.mongodb.connection.SplittablePayload.<init>:(Lcom/mongodb/connection/SplittablePayload$Type;Ljava/util/List;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/mongodb/connection/SplittablePayload;
2 3 1 nextPayLoad Ljava/util/List<Lorg/bson/BsonDocument;>;
public boolean isEmpty();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.connection.SplittablePayload.payload:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/connection/SplittablePayload;
}
SourceFile: "SplittablePayload.java"
NestMembers:
com.mongodb.connection.SplittablePayload$Type
InnerClasses:
public final Type = com.mongodb.connection.SplittablePayload$Type of com.mongodb.connection.SplittablePayload
RuntimeVisibleAnnotations:
java.lang.Deprecated()