public class 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
super_class: java.lang.Object
{
public static final org.apache.cassandra.service.paxos.Commit$CommitSerializer serializer;
descriptor: Lorg/apache/cassandra/service/paxos/Commit$CommitSerializer;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public final java.util.UUID ballot;
descriptor: Ljava/util/UUID;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final org.apache.cassandra.db.partitions.PartitionUpdate update;
descriptor: Lorg/apache/cassandra/db/partitions/PartitionUpdate;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
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=2, locals=0, args_size=0
0: ldc Lorg/apache/cassandra/service/paxos/Commit;
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.service.paxos.Commit.$assertionsDisabled:Z
3: new org.apache.cassandra.service.paxos.Commit$CommitSerializer
dup
invokespecial org.apache.cassandra.service.paxos.Commit$CommitSerializer.<init>:()V
putstatic org.apache.cassandra.service.paxos.Commit.serializer:Lorg/apache/cassandra/service/paxos/Commit$CommitSerializer;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.util.UUID, org.apache.cassandra.db.partitions.PartitionUpdate);
descriptor: (Ljava/util/UUID;Lorg/apache/cassandra/db/partitions/PartitionUpdate;)V
flags: (0x0001) ACC_PUBLIC
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: getstatic org.apache.cassandra.service.paxos.Commit.$assertionsDisabled:Z
ifne 2
aload 1
ifnonnull 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals: org.apache.cassandra.service.paxos.Commit java.util.UUID org.apache.cassandra.db.partitions.PartitionUpdate
StackMap stack:
getstatic org.apache.cassandra.service.paxos.Commit.$assertionsDisabled:Z
ifne 3
aload 2
ifnonnull 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.apache.cassandra.service.paxos.Commit.ballot:Ljava/util/UUID;
4: aload 0
aload 2
putfield org.apache.cassandra.service.paxos.Commit.update:Lorg/apache/cassandra/db/partitions/PartitionUpdate;
5: return
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;
0 6 1 ballot Ljava/util/UUID;
0 6 2 update Lorg/apache/cassandra/db/partitions/PartitionUpdate;
MethodParameters:
Name Flags
ballot
update
public static org.apache.cassandra.service.paxos.Commit newPrepare(org.apache.cassandra.db.DecoratedKey, org.apache.cassandra.config.CFMetaData, java.util.UUID);
descriptor: (Lorg/apache/cassandra/db/DecoratedKey;Lorg/apache/cassandra/config/CFMetaData;Ljava/util/UUID;)Lorg/apache/cassandra/service/paxos/Commit;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new org.apache.cassandra.service.paxos.Commit
dup
aload 2
aload 1
aload 0
invokestatic org.apache.cassandra.db.partitions.PartitionUpdate.emptyUpdate:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/db/DecoratedKey;)Lorg/apache/cassandra/db/partitions/PartitionUpdate;
invokespecial org.apache.cassandra.service.paxos.Commit.<init>:(Ljava/util/UUID;Lorg/apache/cassandra/db/partitions/PartitionUpdate;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 key Lorg/apache/cassandra/db/DecoratedKey;
0 1 1 metadata Lorg/apache/cassandra/config/CFMetaData;
0 1 2 ballot Ljava/util/UUID;
MethodParameters:
Name Flags
key
metadata
ballot
public static org.apache.cassandra.service.paxos.Commit newProposal(java.util.UUID, org.apache.cassandra.db.partitions.PartitionUpdate);
descriptor: (Ljava/util/UUID;Lorg/apache/cassandra/db/partitions/PartitionUpdate;)Lorg/apache/cassandra/service/paxos/Commit;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokestatic org.apache.cassandra.utils.UUIDGen.microsTimestamp:(Ljava/util/UUID;)J
invokevirtual org.apache.cassandra.db.partitions.PartitionUpdate.updateAllTimestamp:(J)V
1: new org.apache.cassandra.service.paxos.Commit
dup
aload 0
aload 1
invokespecial org.apache.cassandra.service.paxos.Commit.<init>:(Ljava/util/UUID;Lorg/apache/cassandra/db/partitions/PartitionUpdate;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 ballot Ljava/util/UUID;
0 2 1 update Lorg/apache/cassandra/db/partitions/PartitionUpdate;
MethodParameters:
Name Flags
ballot
update
public static org.apache.cassandra.service.paxos.Commit emptyCommit(org.apache.cassandra.db.DecoratedKey, org.apache.cassandra.config.CFMetaData);
descriptor: (Lorg/apache/cassandra/db/DecoratedKey;Lorg/apache/cassandra/config/CFMetaData;)Lorg/apache/cassandra/service/paxos/Commit;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: new org.apache.cassandra.service.paxos.Commit
dup
lconst_0
invokestatic org.apache.cassandra.utils.UUIDGen.minTimeUUID:(J)Ljava/util/UUID;
aload 1
aload 0
invokestatic org.apache.cassandra.db.partitions.PartitionUpdate.emptyUpdate:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/db/DecoratedKey;)Lorg/apache/cassandra/db/partitions/PartitionUpdate;
invokespecial org.apache.cassandra.service.paxos.Commit.<init>:(Ljava/util/UUID;Lorg/apache/cassandra/db/partitions/PartitionUpdate;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 key Lorg/apache/cassandra/db/DecoratedKey;
0 1 1 metadata Lorg/apache/cassandra/config/CFMetaData;
MethodParameters:
Name Flags
key
metadata
public boolean isAfter(org.apache.cassandra.service.paxos.Commit);
descriptor: (Lorg/apache/cassandra/service/paxos/Commit;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.service.paxos.Commit.ballot:Ljava/util/UUID;
invokevirtual java.util.UUID.timestamp:()J
aload 1
getfield org.apache.cassandra.service.paxos.Commit.ballot:Ljava/util/UUID;
invokevirtual java.util.UUID.timestamp:()J
lcmp
ifle 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/service/paxos/Commit;
0 2 1 other Lorg/apache/cassandra/service/paxos/Commit;
MethodParameters:
Name Flags
other
public boolean hasBallot(java.util.UUID);
descriptor: (Ljava/util/UUID;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.service.paxos.Commit.ballot:Ljava/util/UUID;
aload 1
invokevirtual java.util.UUID.equals:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/service/paxos/Commit;
0 1 1 ballot Ljava/util/UUID;
MethodParameters:
Name Flags
ballot
public org.apache.cassandra.db.Mutation makeMutation();
descriptor: ()Lorg/apache/cassandra/db/Mutation;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.apache.cassandra.db.Mutation
dup
aload 0
getfield org.apache.cassandra.service.paxos.Commit.update:Lorg/apache/cassandra/db/partitions/PartitionUpdate;
invokespecial org.apache.cassandra.db.Mutation.<init>:(Lorg/apache/cassandra/db/partitions/PartitionUpdate;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/service/paxos/Commit;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 1
iconst_1
ireturn
1: StackMap locals:
StackMap stack:
aload 1
ifnull 2
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
if_acmpeq 3
StackMap locals:
StackMap stack:
2: iconst_0
ireturn
3: StackMap locals:
StackMap stack:
aload 1
checkcast org.apache.cassandra.service.paxos.Commit
astore 2
start local 2 4: aload 0
getfield org.apache.cassandra.service.paxos.Commit.ballot:Ljava/util/UUID;
aload 2
getfield org.apache.cassandra.service.paxos.Commit.ballot:Ljava/util/UUID;
invokevirtual java.util.UUID.equals:(Ljava/lang/Object;)Z
ifeq 5
aload 0
getfield org.apache.cassandra.service.paxos.Commit.update:Lorg/apache/cassandra/db/partitions/PartitionUpdate;
aload 2
getfield org.apache.cassandra.service.paxos.Commit.update:Lorg/apache/cassandra/db/partitions/PartitionUpdate;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 5
iconst_1
ireturn
StackMap locals: org.apache.cassandra.service.paxos.Commit
StackMap stack:
5: iconst_0
ireturn
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;
0 6 1 o Ljava/lang/Object;
4 6 2 commit Lorg/apache/cassandra/service/paxos/Commit;
MethodParameters:
Name Flags
o
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.apache.cassandra.service.paxos.Commit.ballot:Ljava/util/UUID;
aastore
dup
iconst_1
aload 0
getfield org.apache.cassandra.service.paxos.Commit.update:Lorg/apache/cassandra/db/partitions/PartitionUpdate;
aastore
invokestatic com.google.common.base.Objects.hashCode:([Ljava/lang/Object;)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/service/paxos/Commit;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: ldc "Commit(%s, %s)"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.apache.cassandra.service.paxos.Commit.ballot:Ljava/util/UUID;
aastore
dup
iconst_1
aload 0
getfield org.apache.cassandra.service.paxos.Commit.update:Lorg/apache/cassandra/db/partitions/PartitionUpdate;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/service/paxos/Commit;
}
SourceFile: "Commit.java"
NestMembers:
org.apache.cassandra.service.paxos.Commit$CommitSerializer
InnerClasses:
public CommitSerializer = org.apache.cassandra.service.paxos.Commit$CommitSerializer of org.apache.cassandra.service.paxos.Commit