public class org.apache.cassandra.service.paxos.Commit$CommitSerializer implements org.apache.cassandra.io.IVersionedSerializer<org.apache.cassandra.service.paxos.Commit>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.service.paxos.Commit$CommitSerializer
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
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/service/paxos/Commit$CommitSerializer;
public void serialize(org.apache.cassandra.service.paxos.Commit, org.apache.cassandra.io.util.DataOutputPlus, int);
descriptor: (Lorg/apache/cassandra/service/paxos/Commit;Lorg/apache/cassandra/io/util/DataOutputPlus;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 3
bipush 10
if_icmpge 2
1: aload 1
getfield org.apache.cassandra.service.paxos.Commit.update:Lorg/apache/cassandra/db/partitions/PartitionUpdate;
invokevirtual org.apache.cassandra.db.partitions.PartitionUpdate.partitionKey:()Lorg/apache/cassandra/db/DecoratedKey;
invokevirtual org.apache.cassandra.db.DecoratedKey.getKey:()Ljava/nio/ByteBuffer;
aload 2
invokestatic org.apache.cassandra.utils.ByteBufferUtil.writeWithShortLength:(Ljava/nio/ByteBuffer;Lorg/apache/cassandra/io/util/DataOutputPlus;)V
2: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.utils.UUIDSerializer.serializer:Lorg/apache/cassandra/utils/UUIDSerializer;
aload 1
getfield org.apache.cassandra.service.paxos.Commit.ballot: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
3: getstatic org.apache.cassandra.db.partitions.PartitionUpdate.serializer:Lorg/apache/cassandra/db/partitions/PartitionUpdate$PartitionUpdateSerializer;
aload 1
getfield org.apache.cassandra.service.paxos.Commit.update:Lorg/apache/cassandra/db/partitions/PartitionUpdate;
aload 2
iload 3
invokevirtual org.apache.cassandra.db.partitions.PartitionUpdate$PartitionUpdateSerializer.serialize:(Lorg/apache/cassandra/db/partitions/PartitionUpdate;Lorg/apache/cassandra/io/util/DataOutputPlus;I)V
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/service/paxos/Commit$CommitSerializer;
0 5 1 commit Lorg/apache/cassandra/service/paxos/Commit;
0 5 2 out Lorg/apache/cassandra/io/util/DataOutputPlus;
0 5 3 version I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
commit
out
version
public org.apache.cassandra.service.paxos.Commit deserialize(org.apache.cassandra.io.util.DataInputPlus, int);
descriptor: (Lorg/apache/cassandra/io/util/DataInputPlus;I)Lorg/apache/cassandra/service/paxos/Commit;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
start local 3 1: iload 2
bipush 10
if_icmpge 3
2: aload 1
invokestatic org.apache.cassandra.utils.ByteBufferUtil.readWithShortLength:(Ljava/io/DataInput;)Ljava/nio/ByteBuffer;
astore 3
3: StackMap locals: java.nio.ByteBuffer
StackMap stack:
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 4
start local 4 4: getstatic org.apache.cassandra.db.partitions.PartitionUpdate.serializer:Lorg/apache/cassandra/db/partitions/PartitionUpdate$PartitionUpdateSerializer;
aload 1
iload 2
getstatic org.apache.cassandra.db.rows.SerializationHelper$Flag.LOCAL:Lorg/apache/cassandra/db/rows/SerializationHelper$Flag;
aload 3
invokevirtual org.apache.cassandra.db.partitions.PartitionUpdate$PartitionUpdateSerializer.deserialize:(Lorg/apache/cassandra/io/util/DataInputPlus;ILorg/apache/cassandra/db/rows/SerializationHelper$Flag;Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/db/partitions/PartitionUpdate;
astore 5
start local 5 5: new org.apache.cassandra.service.paxos.Commit
dup
aload 4
aload 5
invokespecial org.apache.cassandra.service.paxos.Commit.<init>:(Ljava/util/UUID;Lorg/apache/cassandra/db/partitions/PartitionUpdate;)V
areturn
end local 5 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/service/paxos/Commit$CommitSerializer;
0 6 1 in Lorg/apache/cassandra/io/util/DataInputPlus;
0 6 2 version I
1 6 3 key Ljava/nio/ByteBuffer;
4 6 4 ballot Ljava/util/UUID;
5 6 5 update Lorg/apache/cassandra/db/partitions/PartitionUpdate;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
in
version
public long serializedSize(org.apache.cassandra.service.paxos.Commit, int);
descriptor: (Lorg/apache/cassandra/service/paxos/Commit;I)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 3
start local 3 1: iload 2
bipush 10
if_icmpge 3
2: iload 3
aload 1
getfield org.apache.cassandra.service.paxos.Commit.update:Lorg/apache/cassandra/db/partitions/PartitionUpdate;
invokevirtual org.apache.cassandra.db.partitions.PartitionUpdate.partitionKey:()Lorg/apache/cassandra/db/DecoratedKey;
invokevirtual org.apache.cassandra.db.DecoratedKey.getKey:()Ljava/nio/ByteBuffer;
invokestatic org.apache.cassandra.utils.ByteBufferUtil.serializedSizeWithShortLength:(Ljava/nio/ByteBuffer;)I
iadd
istore 3
3: StackMap locals: int
StackMap stack:
iload 3
i2l
4: getstatic org.apache.cassandra.utils.UUIDSerializer.serializer:Lorg/apache/cassandra/utils/UUIDSerializer;
aload 1
getfield org.apache.cassandra.service.paxos.Commit.ballot:Ljava/util/UUID;
iload 2
invokevirtual org.apache.cassandra.utils.UUIDSerializer.serializedSize:(Ljava/util/UUID;I)J
5: ladd
6: getstatic org.apache.cassandra.db.partitions.PartitionUpdate.serializer:Lorg/apache/cassandra/db/partitions/PartitionUpdate$PartitionUpdateSerializer;
aload 1
getfield org.apache.cassandra.service.paxos.Commit.update:Lorg/apache/cassandra/db/partitions/PartitionUpdate;
iload 2
invokevirtual org.apache.cassandra.db.partitions.PartitionUpdate$PartitionUpdateSerializer.serializedSize:(Lorg/apache/cassandra/db/partitions/PartitionUpdate;I)J
7: ladd
lreturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/cassandra/service/paxos/Commit$CommitSerializer;
0 8 1 commit Lorg/apache/cassandra/service/paxos/Commit;
0 8 2 version I
1 8 3 size I
MethodParameters:
Name Flags
commit
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.service.paxos.Commit
aload 2
iload 3
invokevirtual org.apache.cassandra.service.paxos.Commit$CommitSerializer.serialize:(Lorg/apache/cassandra/service/paxos/Commit;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.service.paxos.Commit
iload 2
invokevirtual org.apache.cassandra.service.paxos.Commit$CommitSerializer.serializedSize:(Lorg/apache/cassandra/service/paxos/Commit;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.service.paxos.Commit$CommitSerializer.deserialize:(Lorg/apache/cassandra/io/util/DataInputPlus;I)Lorg/apache/cassandra/service/paxos/Commit;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.io.IOException
}
Signature: Ljava/lang/Object;Lorg/apache/cassandra/io/IVersionedSerializer<Lorg/apache/cassandra/service/paxos/Commit;>;
SourceFile: "Commit.java"
NestHost: org.apache.cassandra.service.paxos.Commit
InnerClasses:
public PartitionUpdateSerializer = org.apache.cassandra.db.partitions.PartitionUpdate$PartitionUpdateSerializer of org.apache.cassandra.db.partitions.PartitionUpdate
public final Flag = org.apache.cassandra.db.rows.SerializationHelper$Flag of org.apache.cassandra.db.rows.SerializationHelper
public CommitSerializer = org.apache.cassandra.service.paxos.Commit$CommitSerializer of org.apache.cassandra.service.paxos.Commit