final class org.apache.cassandra.batchlog.Batch$Serializer implements org.apache.cassandra.io.IVersionedSerializer<org.apache.cassandra.batchlog.Batch>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.apache.cassandra.batchlog.Batch$Serializer
super_class: java.lang.Object
{
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/apache/cassandra/batchlog/Batch;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.apache.cassandra.batchlog.Batch$Serializer.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/batchlog/Batch$Serializer;
public long serializedSize(org.apache.cassandra.batchlog.Batch, int);
descriptor: (Lorg/apache/cassandra/batchlog/Batch;I)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=8, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.apache.cassandra.batchlog.Batch$Serializer.$assertionsDisabled:Z
ifne 1
aload 1
getfield org.apache.cassandra.batchlog.Batch.encodedMutations:Ljava/util/Collection;
invokeinterface java.util.Collection.isEmpty:()Z
ifne 1
new java.lang.AssertionError
dup
ldc "attempted to serialize a 'remote' batch"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
1: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.utils.UUIDSerializer.serializer:Lorg/apache/cassandra/utils/UUIDSerializer;
aload 1
getfield org.apache.cassandra.batchlog.Batch.id:Ljava/util/UUID;
iload 2
invokevirtual org.apache.cassandra.utils.UUIDSerializer.serializedSize:(Ljava/util/UUID;I)J
lstore 3
start local 3 2: lload 3
aload 1
getfield org.apache.cassandra.batchlog.Batch.creationTime:J
invokestatic org.apache.cassandra.db.TypeSizes.sizeof:(J)I
i2l
ladd
lstore 3
3: lload 3
aload 1
getfield org.apache.cassandra.batchlog.Batch.decodedMutations:Ljava/util/Collection;
invokeinterface java.util.Collection.size:()I
i2l
invokestatic org.apache.cassandra.db.TypeSizes.sizeofUnsignedVInt:(J)I
i2l
ladd
lstore 3
4: aload 1
getfield org.apache.cassandra.batchlog.Batch.decodedMutations:Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 6
goto 9
StackMap locals: org.apache.cassandra.batchlog.Batch$Serializer org.apache.cassandra.batchlog.Batch int long top java.util.Iterator
StackMap stack:
5: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.db.Mutation
astore 5
start local 5 6: getstatic org.apache.cassandra.db.Mutation.serializer:Lorg/apache/cassandra/db/Mutation$MutationSerializer;
aload 5
iload 2
invokevirtual org.apache.cassandra.db.Mutation$MutationSerializer.serializedSize:(Lorg/apache/cassandra/db/Mutation;I)J
l2i
istore 7
start local 7 7: lload 3
iload 7
i2l
invokestatic org.apache.cassandra.db.TypeSizes.sizeofUnsignedVInt:(J)I
i2l
ladd
lstore 3
8: lload 3
iload 7
i2l
ladd
lstore 3
end local 7 end local 5 9: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
10: lload 3
lreturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/cassandra/batchlog/Batch$Serializer;
0 11 1 batch Lorg/apache/cassandra/batchlog/Batch;
0 11 2 version I
2 11 3 size J
6 9 5 mutation Lorg/apache/cassandra/db/Mutation;
7 9 7 mutationSize I
MethodParameters:
Name Flags
batch
version
public void serialize(org.apache.cassandra.batchlog.Batch, org.apache.cassandra.io.util.DataOutputPlus, int);
descriptor: (Lorg/apache/cassandra/batchlog/Batch;Lorg/apache/cassandra/io/util/DataOutputPlus;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic org.apache.cassandra.batchlog.Batch$Serializer.$assertionsDisabled:Z
ifne 1
aload 1
getfield org.apache.cassandra.batchlog.Batch.encodedMutations:Ljava/util/Collection;
invokeinterface java.util.Collection.isEmpty:()Z
ifne 1
new java.lang.AssertionError
dup
ldc "attempted to serialize a 'remote' batch"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
1: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.utils.UUIDSerializer.serializer:Lorg/apache/cassandra/utils/UUIDSerializer;
aload 1
getfield org.apache.cassandra.batchlog.Batch.id:Ljava/util/UUID;
aload 2
iload 3
invokevirtual org.apache.cassandra.utils.UUIDSerializer.serialize:(Ljava/util/UUID;Lorg/apache/cassandra/io/util/DataOutputPlus;I)V
2: aload 2
aload 1
getfield org.apache.cassandra.batchlog.Batch.creationTime:J
invokeinterface org.apache.cassandra.io.util.DataOutputPlus.writeLong:(J)V
3: aload 2
aload 1
getfield org.apache.cassandra.batchlog.Batch.decodedMutations:Ljava/util/Collection;
invokeinterface java.util.Collection.size:()I
i2l
invokeinterface org.apache.cassandra.io.util.DataOutputPlus.writeUnsignedVInt:(J)V
4: aload 1
getfield org.apache.cassandra.batchlog.Batch.decodedMutations:Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 5
goto 8
StackMap locals: org.apache.cassandra.batchlog.Batch$Serializer org.apache.cassandra.batchlog.Batch org.apache.cassandra.io.util.DataOutputPlus int top java.util.Iterator
StackMap stack:
5: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.db.Mutation
astore 4
start local 4 6: aload 2
getstatic org.apache.cassandra.db.Mutation.serializer:Lorg/apache/cassandra/db/Mutation$MutationSerializer;
aload 4
iload 3
invokevirtual org.apache.cassandra.db.Mutation$MutationSerializer.serializedSize:(Lorg/apache/cassandra/db/Mutation;I)J
invokeinterface org.apache.cassandra.io.util.DataOutputPlus.writeUnsignedVInt:(J)V
7: getstatic org.apache.cassandra.db.Mutation.serializer:Lorg/apache/cassandra/db/Mutation$MutationSerializer;
aload 4
aload 2
iload 3
invokevirtual org.apache.cassandra.db.Mutation$MutationSerializer.serialize:(Lorg/apache/cassandra/db/Mutation;Lorg/apache/cassandra/io/util/DataOutputPlus;I)V
end local 4 8: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
9: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/cassandra/batchlog/Batch$Serializer;
0 10 1 batch Lorg/apache/cassandra/batchlog/Batch;
0 10 2 out Lorg/apache/cassandra/io/util/DataOutputPlus;
0 10 3 version I
6 8 4 mutation Lorg/apache/cassandra/db/Mutation;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
batch
out
version
public org.apache.cassandra.batchlog.Batch deserialize(org.apache.cassandra.io.util.DataInputPlus, int);
descriptor: (Lorg/apache/cassandra/io/util/DataInputPlus;I)Lorg/apache/cassandra/batchlog/Batch;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.apache.cassandra.utils.UUIDSerializer.serializer:Lorg/apache/cassandra/utils/UUIDSerializer;
aload 1
iload 2
invokevirtual org.apache.cassandra.utils.UUIDSerializer.deserialize:(Lorg/apache/cassandra/io/util/DataInputPlus;I)Ljava/util/UUID;
astore 3
start local 3 1: aload 1
invokeinterface org.apache.cassandra.io.util.DataInputPlus.readLong:()J
lstore 4
start local 4 2: iload 2
getstatic org.apache.cassandra.net.MessagingService.current_version:I
if_icmpne 4
3: aload 3
lload 4
aload 1
invokestatic org.apache.cassandra.batchlog.Batch$Serializer.readEncodedMutations:(Lorg/apache/cassandra/io/util/DataInputPlus;)Ljava/util/Collection;
invokestatic org.apache.cassandra.batchlog.Batch.createRemote:(Ljava/util/UUID;JLjava/util/Collection;)Lorg/apache/cassandra/batchlog/Batch;
goto 5
4: StackMap locals: java.util.UUID long
StackMap stack:
aload 3
lload 4
aload 1
iload 2
invokestatic org.apache.cassandra.batchlog.Batch$Serializer.decodeMutations:(Lorg/apache/cassandra/io/util/DataInputPlus;I)Ljava/util/Collection;
invokestatic org.apache.cassandra.batchlog.Batch.createLocal:(Ljava/util/UUID;JLjava/util/Collection;)Lorg/apache/cassandra/batchlog/Batch;
5: StackMap locals:
StackMap stack: org.apache.cassandra.batchlog.Batch
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/batchlog/Batch$Serializer;
0 6 1 in Lorg/apache/cassandra/io/util/DataInputPlus;
0 6 2 version I
1 6 3 id Ljava/util/UUID;
2 6 4 creationTime J
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
in
version
private static java.util.Collection<java.nio.ByteBuffer> readEncodedMutations(org.apache.cassandra.io.util.DataInputPlus);
descriptor: (Lorg/apache/cassandra/io/util/DataInputPlus;)Ljava/util/Collection;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
invokeinterface org.apache.cassandra.io.util.DataInputPlus.readUnsignedVInt:()J
l2i
istore 1
start local 1 1: new java.util.ArrayList
dup
iload 1
invokespecial java.util.ArrayList.<init>:(I)V
astore 2
start local 2 2: iconst_0
istore 3
start local 3 3: goto 6
4: StackMap locals: int java.util.ArrayList int
StackMap stack:
aload 2
aload 0
invokestatic org.apache.cassandra.utils.ByteBufferUtil.readWithVIntLength:(Lorg/apache/cassandra/io/util/DataInputPlus;)Ljava/nio/ByteBuffer;
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
5: iinc 3 1
StackMap locals:
StackMap stack:
6: iload 3
iload 1
if_icmplt 4
end local 3 7: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 in Lorg/apache/cassandra/io/util/DataInputPlus;
1 8 1 count I
2 8 2 mutations Ljava/util/ArrayList<Ljava/nio/ByteBuffer;>;
3 7 3 i I
Exceptions:
throws java.io.IOException
Signature: (Lorg/apache/cassandra/io/util/DataInputPlus;)Ljava/util/Collection<Ljava/nio/ByteBuffer;>;
MethodParameters:
Name Flags
in
private static java.util.Collection<org.apache.cassandra.db.Mutation> decodeMutations(org.apache.cassandra.io.util.DataInputPlus, int);
descriptor: (Lorg/apache/cassandra/io/util/DataInputPlus;I)Ljava/util/Collection;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface org.apache.cassandra.io.util.DataInputPlus.readUnsignedVInt:()J
l2i
istore 2
start local 2 1: new java.util.ArrayList
dup
iload 2
invokespecial java.util.ArrayList.<init>:(I)V
astore 3
start local 3 2: iconst_0
istore 4
start local 4 3: goto 7
4: StackMap locals: int java.util.ArrayList int
StackMap stack:
aload 0
invokeinterface org.apache.cassandra.io.util.DataInputPlus.readUnsignedVInt:()J
pop2
5: aload 3
getstatic org.apache.cassandra.db.Mutation.serializer:Lorg/apache/cassandra/db/Mutation$MutationSerializer;
aload 0
iload 1
invokevirtual org.apache.cassandra.db.Mutation$MutationSerializer.deserialize:(Lorg/apache/cassandra/io/util/DataInputPlus;I)Lorg/apache/cassandra/db/Mutation;
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
6: iinc 4 1
StackMap locals:
StackMap stack:
7: iload 4
iload 2
if_icmplt 4
end local 4 8: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 in Lorg/apache/cassandra/io/util/DataInputPlus;
0 9 1 version I
1 9 2 count I
2 9 3 mutations Ljava/util/ArrayList<Lorg/apache/cassandra/db/Mutation;>;
3 8 4 i I
Exceptions:
throws java.io.IOException
Signature: (Lorg/apache/cassandra/io/util/DataInputPlus;I)Ljava/util/Collection<Lorg/apache/cassandra/db/Mutation;>;
MethodParameters:
Name Flags
in
version
public void serialize(java.lang.Object, org.apache.cassandra.io.util.DataOutputPlus, int);
descriptor: (Ljava/lang/Object;Lorg/apache/cassandra/io/util/DataOutputPlus;I)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=4
0: aload 0
aload 1
checkcast org.apache.cassandra.batchlog.Batch
aload 2
iload 3
invokevirtual org.apache.cassandra.batchlog.Batch$Serializer.serialize:(Lorg/apache/cassandra/batchlog/Batch;Lorg/apache/cassandra/io/util/DataOutputPlus;I)V
return
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.io.IOException
public long serializedSize(java.lang.Object, int);
descriptor: (Ljava/lang/Object;I)J
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
checkcast org.apache.cassandra.batchlog.Batch
iload 2
invokevirtual org.apache.cassandra.batchlog.Batch$Serializer.serializedSize:(Lorg/apache/cassandra/batchlog/Batch;I)J
lreturn
LocalVariableTable:
Start End Slot Name Signature
public java.lang.Object deserialize(org.apache.cassandra.io.util.DataInputPlus, int);
descriptor: (Lorg/apache/cassandra/io/util/DataInputPlus;I)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
iload 2
invokevirtual org.apache.cassandra.batchlog.Batch$Serializer.deserialize:(Lorg/apache/cassandra/io/util/DataInputPlus;I)Lorg/apache/cassandra/batchlog/Batch;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.io.IOException
}
Signature: Ljava/lang/Object;Lorg/apache/cassandra/io/IVersionedSerializer<Lorg/apache/cassandra/batchlog/Batch;>;
SourceFile: "Batch.java"
NestHost: org.apache.cassandra.batchlog.Batch
InnerClasses:
final Serializer = org.apache.cassandra.batchlog.Batch$Serializer of org.apache.cassandra.batchlog.Batch
public MutationSerializer = org.apache.cassandra.db.Mutation$MutationSerializer of org.apache.cassandra.db.Mutation