public class org.apache.cassandra.db.CounterMutation implements org.apache.cassandra.db.IMutation
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.db.CounterMutation
super_class: java.lang.Object
{
public static final org.apache.cassandra.db.CounterMutation$CounterMutationSerializer serializer;
descriptor: Lorg/apache/cassandra/db/CounterMutation$CounterMutationSerializer;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private static final com.google.common.util.concurrent.Striped<java.util.concurrent.locks.Lock> LOCKS;
descriptor: Lcom/google/common/util/concurrent/Striped;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Lcom/google/common/util/concurrent/Striped<Ljava/util/concurrent/locks/Lock;>;
private final org.apache.cassandra.db.Mutation mutation;
descriptor: Lorg/apache/cassandra/db/Mutation;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.cassandra.db.ConsistencyLevel consistency;
descriptor: Lorg/apache/cassandra/db/ConsistencyLevel;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new org.apache.cassandra.db.CounterMutation$CounterMutationSerializer
dup
invokespecial org.apache.cassandra.db.CounterMutation$CounterMutationSerializer.<init>:()V
putstatic org.apache.cassandra.db.CounterMutation.serializer:Lorg/apache/cassandra/db/CounterMutation$CounterMutationSerializer;
1: invokestatic org.apache.cassandra.config.DatabaseDescriptor.getConcurrentCounterWriters:()I
sipush 1024
imul
invokestatic com.google.common.util.concurrent.Striped.lazyWeakLock:(I)Lcom/google/common/util/concurrent/Striped;
putstatic org.apache.cassandra.db.CounterMutation.LOCKS:Lcom/google/common/util/concurrent/Striped;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.apache.cassandra.db.Mutation, org.apache.cassandra.db.ConsistencyLevel);
descriptor: (Lorg/apache/cassandra/db/Mutation;Lorg/apache/cassandra/db/ConsistencyLevel;)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: aload 0
aload 1
putfield org.apache.cassandra.db.CounterMutation.mutation:Lorg/apache/cassandra/db/Mutation;
2: aload 0
aload 2
putfield org.apache.cassandra.db.CounterMutation.consistency:Lorg/apache/cassandra/db/ConsistencyLevel;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/db/CounterMutation;
0 4 1 mutation Lorg/apache/cassandra/db/Mutation;
0 4 2 consistency Lorg/apache/cassandra/db/ConsistencyLevel;
MethodParameters:
Name Flags
mutation
consistency
public java.lang.String getKeyspaceName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.CounterMutation.mutation:Lorg/apache/cassandra/db/Mutation;
invokevirtual org.apache.cassandra.db.Mutation.getKeyspaceName:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/CounterMutation;
public java.util.Collection<java.util.UUID> getColumnFamilyIds();
descriptor: ()Ljava/util/Collection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.CounterMutation.mutation:Lorg/apache/cassandra/db/Mutation;
invokevirtual org.apache.cassandra.db.Mutation.getColumnFamilyIds:()Ljava/util/Collection;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/CounterMutation;
Signature: ()Ljava/util/Collection<Ljava/util/UUID;>;
public java.util.Collection<org.apache.cassandra.db.partitions.PartitionUpdate> getPartitionUpdates();
descriptor: ()Ljava/util/Collection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.CounterMutation.mutation:Lorg/apache/cassandra/db/Mutation;
invokevirtual org.apache.cassandra.db.Mutation.getPartitionUpdates:()Ljava/util/Collection;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/CounterMutation;
Signature: ()Ljava/util/Collection<Lorg/apache/cassandra/db/partitions/PartitionUpdate;>;
public org.apache.cassandra.db.Mutation getMutation();
descriptor: ()Lorg/apache/cassandra/db/Mutation;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.CounterMutation.mutation:Lorg/apache/cassandra/db/Mutation;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/CounterMutation;
public org.apache.cassandra.db.DecoratedKey key();
descriptor: ()Lorg/apache/cassandra/db/DecoratedKey;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.CounterMutation.mutation:Lorg/apache/cassandra/db/Mutation;
invokevirtual org.apache.cassandra.db.Mutation.key:()Lorg/apache/cassandra/db/DecoratedKey;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/CounterMutation;
public org.apache.cassandra.db.ConsistencyLevel consistency();
descriptor: ()Lorg/apache/cassandra/db/ConsistencyLevel;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.CounterMutation.consistency:Lorg/apache/cassandra/db/ConsistencyLevel;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/CounterMutation;
public org.apache.cassandra.net.MessageOut<org.apache.cassandra.db.CounterMutation> makeMutationMessage();
descriptor: ()Lorg/apache/cassandra/net/MessageOut;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: new org.apache.cassandra.net.MessageOut
dup
getstatic org.apache.cassandra.net.MessagingService$Verb.COUNTER_MUTATION:Lorg/apache/cassandra/net/MessagingService$Verb;
aload 0
getstatic org.apache.cassandra.db.CounterMutation.serializer:Lorg/apache/cassandra/db/CounterMutation$CounterMutationSerializer;
invokespecial org.apache.cassandra.net.MessageOut.<init>:(Lorg/apache/cassandra/net/MessagingService$Verb;Ljava/lang/Object;Lorg/apache/cassandra/io/IVersionedSerializer;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/CounterMutation;
Signature: ()Lorg/apache/cassandra/net/MessageOut<Lorg/apache/cassandra/db/CounterMutation;>;
public org.apache.cassandra.db.Mutation applyCounterMutation();
descriptor: ()Lorg/apache/cassandra/db/Mutation;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=10, args_size=1
start local 0 0: new org.apache.cassandra.db.Mutation
dup
aload 0
invokevirtual org.apache.cassandra.db.CounterMutation.getKeyspaceName:()Ljava/lang/String;
aload 0
invokevirtual org.apache.cassandra.db.CounterMutation.key:()Lorg/apache/cassandra/db/DecoratedKey;
invokespecial org.apache.cassandra.db.Mutation.<init>:(Ljava/lang/String;Lorg/apache/cassandra/db/DecoratedKey;)V
astore 1
start local 1 1: aload 0
invokevirtual org.apache.cassandra.db.CounterMutation.getKeyspaceName:()Ljava/lang/String;
invokestatic org.apache.cassandra.db.Keyspace.open:(Ljava/lang/String;)Lorg/apache/cassandra/db/Keyspace;
astore 2
start local 2 2: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 3: ldc "Acquiring counter locks"
invokestatic org.apache.cassandra.tracing.Tracing.trace:(Ljava/lang/String;)V
4: aload 0
aload 2
aload 3
invokevirtual org.apache.cassandra.db.CounterMutation.grabCounterLocks:(Lorg/apache/cassandra/db/Keyspace;Ljava/util/List;)V
5: aload 0
invokevirtual org.apache.cassandra.db.CounterMutation.getPartitionUpdates:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 5
goto 8
StackMap locals: org.apache.cassandra.db.CounterMutation org.apache.cassandra.db.Mutation org.apache.cassandra.db.Keyspace java.util.List top java.util.Iterator
StackMap stack:
6: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.db.partitions.PartitionUpdate
astore 4
start local 4 7: aload 1
aload 0
aload 4
invokevirtual org.apache.cassandra.db.CounterMutation.processModifications:(Lorg/apache/cassandra/db/partitions/PartitionUpdate;)Lorg/apache/cassandra/db/partitions/PartitionUpdate;
invokevirtual org.apache.cassandra.db.Mutation.add:(Lorg/apache/cassandra/db/partitions/PartitionUpdate;)Lorg/apache/cassandra/db/Mutation;
pop
end local 4 8: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
9: aload 1
invokevirtual org.apache.cassandra.db.Mutation.apply:()V
10: aload 1
astore 7
11: aload 3
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 9
goto 14
StackMap locals: org.apache.cassandra.db.CounterMutation org.apache.cassandra.db.Mutation org.apache.cassandra.db.Keyspace java.util.List top top top org.apache.cassandra.db.Mutation top java.util.Iterator
StackMap stack:
12: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.concurrent.locks.Lock
astore 8
start local 8 13: aload 8
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
end local 8 14: StackMap locals:
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 12
15: aload 7
areturn
16: StackMap locals: org.apache.cassandra.db.CounterMutation org.apache.cassandra.db.Mutation org.apache.cassandra.db.Keyspace java.util.List
StackMap stack: java.lang.Throwable
astore 6
17: aload 3
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 9
goto 20
StackMap locals: org.apache.cassandra.db.CounterMutation org.apache.cassandra.db.Mutation org.apache.cassandra.db.Keyspace java.util.List top top java.lang.Throwable top top java.util.Iterator
StackMap stack:
18: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.concurrent.locks.Lock
astore 8
start local 8 19: aload 8
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
end local 8 20: StackMap locals:
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 18
21: aload 6
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lorg/apache/cassandra/db/CounterMutation;
1 22 1 result Lorg/apache/cassandra/db/Mutation;
2 22 2 keyspace Lorg/apache/cassandra/db/Keyspace;
3 22 3 locks Ljava/util/List<Ljava/util/concurrent/locks/Lock;>;
7 8 4 upd Lorg/apache/cassandra/db/partitions/PartitionUpdate;
13 14 8 lock Ljava/util/concurrent/locks/Lock;
19 20 8 lock Ljava/util/concurrent/locks/Lock;
Exception table:
from to target type
4 11 16 any
Exceptions:
throws org.apache.cassandra.exceptions.WriteTimeoutException
public void apply();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.cassandra.db.CounterMutation.applyCounterMutation:()Lorg/apache/cassandra/db/Mutation;
pop
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/db/CounterMutation;
private void grabCounterLocks(org.apache.cassandra.db.Keyspace, java.util.List<java.util.concurrent.locks.Lock>);
descriptor: (Lorg/apache/cassandra/db/Keyspace;Ljava/util/List;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=9, args_size=3
start local 0 start local 1 start local 2 0: invokestatic java.lang.System.nanoTime:()J
lstore 3
start local 3 1: getstatic org.apache.cassandra.db.CounterMutation.LOCKS:Lcom/google/common/util/concurrent/Striped;
aload 0
invokevirtual org.apache.cassandra.db.CounterMutation.getCounterLockKeys:()Ljava/lang/Iterable;
invokevirtual com.google.common.util.concurrent.Striped.bulkGet:(Ljava/lang/Iterable;)Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 6
goto 10
StackMap locals: org.apache.cassandra.db.CounterMutation org.apache.cassandra.db.Keyspace java.util.List long top java.util.Iterator
StackMap stack:
2: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.concurrent.locks.Lock
astore 5
start local 5 3: getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
aload 0
invokevirtual org.apache.cassandra.db.CounterMutation.getTimeout:()J
invokevirtual java.util.concurrent.TimeUnit.toNanos:(J)J
invokestatic java.lang.System.nanoTime:()J
lload 3
lsub
lsub
lstore 7
start local 7 4: aload 5
lload 7
getstatic java.util.concurrent.TimeUnit.NANOSECONDS:Ljava/util/concurrent/TimeUnit;
invokeinterface java.util.concurrent.locks.Lock.tryLock:(JLjava/util/concurrent/TimeUnit;)Z
ifne 6
5: new org.apache.cassandra.exceptions.WriteTimeoutException
dup
getstatic org.apache.cassandra.db.WriteType.COUNTER:Lorg/apache/cassandra/db/WriteType;
aload 0
invokevirtual org.apache.cassandra.db.CounterMutation.consistency:()Lorg/apache/cassandra/db/ConsistencyLevel;
iconst_0
aload 0
invokevirtual org.apache.cassandra.db.CounterMutation.consistency:()Lorg/apache/cassandra/db/ConsistencyLevel;
aload 1
invokevirtual org.apache.cassandra.db.ConsistencyLevel.blockFor:(Lorg/apache/cassandra/db/Keyspace;)I
invokespecial org.apache.cassandra.exceptions.WriteTimeoutException.<init>:(Lorg/apache/cassandra/db/WriteType;Lorg/apache/cassandra/db/ConsistencyLevel;II)V
athrow
6: StackMap locals: org.apache.cassandra.db.CounterMutation org.apache.cassandra.db.Keyspace java.util.List long java.util.concurrent.locks.Lock java.util.Iterator long
StackMap stack:
aload 2
aload 5
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
7: goto 10
8: StackMap locals:
StackMap stack: java.lang.InterruptedException
pop
9: new org.apache.cassandra.exceptions.WriteTimeoutException
dup
getstatic org.apache.cassandra.db.WriteType.COUNTER:Lorg/apache/cassandra/db/WriteType;
aload 0
invokevirtual org.apache.cassandra.db.CounterMutation.consistency:()Lorg/apache/cassandra/db/ConsistencyLevel;
iconst_0
aload 0
invokevirtual org.apache.cassandra.db.CounterMutation.consistency:()Lorg/apache/cassandra/db/ConsistencyLevel;
aload 1
invokevirtual org.apache.cassandra.db.ConsistencyLevel.blockFor:(Lorg/apache/cassandra/db/Keyspace;)I
invokespecial org.apache.cassandra.exceptions.WriteTimeoutException.<init>:(Lorg/apache/cassandra/db/WriteType;Lorg/apache/cassandra/db/ConsistencyLevel;II)V
athrow
end local 7 end local 5 10: StackMap locals: org.apache.cassandra.db.CounterMutation org.apache.cassandra.db.Keyspace java.util.List long top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
11: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/apache/cassandra/db/CounterMutation;
0 12 1 keyspace Lorg/apache/cassandra/db/Keyspace;
0 12 2 locks Ljava/util/List<Ljava/util/concurrent/locks/Lock;>;
1 12 3 startTime J
3 10 5 lock Ljava/util/concurrent/locks/Lock;
4 10 7 timeout J
Exception table:
from to target type
4 7 8 Class java.lang.InterruptedException
Exceptions:
throws org.apache.cassandra.exceptions.WriteTimeoutException
Signature: (Lorg/apache/cassandra/db/Keyspace;Ljava/util/List<Ljava/util/concurrent/locks/Lock;>;)V
MethodParameters:
Name Flags
keyspace
locks
private java.lang.Iterable<java.lang.Object> getCounterLockKeys();
descriptor: ()Ljava/lang/Iterable;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.cassandra.db.CounterMutation.getPartitionUpdates:()Ljava/util/Collection;
new org.apache.cassandra.db.CounterMutation$1
dup
aload 0
invokespecial org.apache.cassandra.db.CounterMutation$1.<init>:(Lorg/apache/cassandra/db/CounterMutation;)V
invokestatic com.google.common.collect.Iterables.transform:(Ljava/lang/Iterable;Lcom/google/common/base/Function;)Ljava/lang/Iterable;
invokestatic com.google.common.collect.Iterables.concat:(Ljava/lang/Iterable;)Ljava/lang/Iterable;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/CounterMutation;
Signature: ()Ljava/lang/Iterable<Ljava/lang/Object;>;
private org.apache.cassandra.db.partitions.PartitionUpdate processModifications(org.apache.cassandra.db.partitions.PartitionUpdate);
descriptor: (Lorg/apache/cassandra/db/partitions/PartitionUpdate;)Lorg/apache/cassandra/db/partitions/PartitionUpdate;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.cassandra.db.CounterMutation.getKeyspaceName:()Ljava/lang/String;
invokestatic org.apache.cassandra.db.Keyspace.open:(Ljava/lang/String;)Lorg/apache/cassandra/db/Keyspace;
aload 1
invokevirtual org.apache.cassandra.db.partitions.PartitionUpdate.metadata:()Lorg/apache/cassandra/config/CFMetaData;
getfield org.apache.cassandra.config.CFMetaData.cfId:Ljava/util/UUID;
invokevirtual org.apache.cassandra.db.Keyspace.getColumnFamilyStore:(Ljava/util/UUID;)Lorg/apache/cassandra/db/ColumnFamilyStore;
astore 2
start local 2 1: aload 1
invokevirtual org.apache.cassandra.db.partitions.PartitionUpdate.collectCounterMarks:()Ljava/util/List;
astore 3
start local 3 2: getstatic org.apache.cassandra.service.CacheService.instance:Lorg/apache/cassandra/service/CacheService;
getfield org.apache.cassandra.service.CacheService.counterCache:Lorg/apache/cassandra/cache/AutoSavingCache;
invokevirtual org.apache.cassandra.cache.AutoSavingCache.getCapacity:()J
lconst_0
lcmp
ifeq 7
3: ldc "Fetching {} counter values from cache"
aload 3
invokeinterface java.util.List.size:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokestatic org.apache.cassandra.tracing.Tracing.trace:(Ljava/lang/String;Ljava/lang/Object;)V
4: aload 0
aload 3
aload 2
invokevirtual org.apache.cassandra.db.CounterMutation.updateWithCurrentValuesFromCache:(Ljava/util/List;Lorg/apache/cassandra/db/ColumnFamilyStore;)V
5: aload 3
invokeinterface java.util.List.isEmpty:()Z
ifeq 7
6: aload 1
areturn
7: StackMap locals: org.apache.cassandra.db.ColumnFamilyStore java.util.List
StackMap stack:
ldc "Reading {} counter values from the CF"
aload 3
invokeinterface java.util.List.size:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokestatic org.apache.cassandra.tracing.Tracing.trace:(Ljava/lang/String;Ljava/lang/Object;)V
8: aload 0
aload 3
aload 2
invokevirtual org.apache.cassandra.db.CounterMutation.updateWithCurrentValuesFromCFS:(Ljava/util/List;Lorg/apache/cassandra/db/ColumnFamilyStore;)V
9: aload 3
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 12
StackMap locals: org.apache.cassandra.db.CounterMutation org.apache.cassandra.db.partitions.PartitionUpdate org.apache.cassandra.db.ColumnFamilyStore java.util.List top java.util.Iterator
StackMap stack:
10: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.db.partitions.PartitionUpdate$CounterMark
astore 4
start local 4 11: aload 0
aload 4
getstatic org.apache.cassandra.db.ClockAndCount.BLANK:Lorg/apache/cassandra/db/ClockAndCount;
aload 2
invokevirtual org.apache.cassandra.db.CounterMutation.updateWithCurrentValue:(Lorg/apache/cassandra/db/partitions/PartitionUpdate$CounterMark;Lorg/apache/cassandra/db/ClockAndCount;Lorg/apache/cassandra/db/ColumnFamilyStore;)V
end local 4 12: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 10
13: aload 1
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/apache/cassandra/db/CounterMutation;
0 14 1 changes Lorg/apache/cassandra/db/partitions/PartitionUpdate;
1 14 2 cfs Lorg/apache/cassandra/db/ColumnFamilyStore;
2 14 3 marks Ljava/util/List<Lorg/apache/cassandra/db/partitions/PartitionUpdate$CounterMark;>;
11 12 4 mark Lorg/apache/cassandra/db/partitions/PartitionUpdate$CounterMark;
MethodParameters:
Name Flags
changes
private void updateWithCurrentValue(org.apache.cassandra.db.partitions.PartitionUpdate$CounterMark, org.apache.cassandra.db.ClockAndCount, org.apache.cassandra.db.ColumnFamilyStore);
descriptor: (Lorg/apache/cassandra/db/partitions/PartitionUpdate$CounterMark;Lorg/apache/cassandra/db/ClockAndCount;Lorg/apache/cassandra/db/ColumnFamilyStore;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=9, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: invokestatic org.apache.cassandra.utils.FBUtilities.timestampMicros:()J
aload 2
getfield org.apache.cassandra.db.ClockAndCount.clock:J
lconst_1
ladd
invokestatic java.lang.Math.max:(JJ)J
lstore 4
start local 4 1: aload 2
getfield org.apache.cassandra.db.ClockAndCount.count:J
invokestatic org.apache.cassandra.db.context.CounterContext.instance:()Lorg/apache/cassandra/db/context/CounterContext;
aload 1
invokevirtual org.apache.cassandra.db.partitions.PartitionUpdate$CounterMark.value:()Ljava/nio/ByteBuffer;
invokevirtual org.apache.cassandra.db.context.CounterContext.total:(Ljava/nio/ByteBuffer;)J
ladd
lstore 6
start local 6 2: aload 1
invokestatic org.apache.cassandra.db.context.CounterContext.instance:()Lorg/apache/cassandra/db/context/CounterContext;
invokestatic org.apache.cassandra.utils.CounterId.getLocalId:()Lorg/apache/cassandra/utils/CounterId;
lload 4
lload 6
invokevirtual org.apache.cassandra.db.context.CounterContext.createGlobal:(Lorg/apache/cassandra/utils/CounterId;JJ)Ljava/nio/ByteBuffer;
invokevirtual org.apache.cassandra.db.partitions.PartitionUpdate$CounterMark.setValue:(Ljava/nio/ByteBuffer;)V
3: aload 3
aload 0
invokevirtual org.apache.cassandra.db.CounterMutation.key:()Lorg/apache/cassandra/db/DecoratedKey;
invokevirtual org.apache.cassandra.db.DecoratedKey.getKey:()Ljava/nio/ByteBuffer;
aload 1
invokevirtual org.apache.cassandra.db.partitions.PartitionUpdate$CounterMark.clustering:()Lorg/apache/cassandra/db/Clustering;
aload 1
invokevirtual org.apache.cassandra.db.partitions.PartitionUpdate$CounterMark.column:()Lorg/apache/cassandra/config/ColumnDefinition;
aload 1
invokevirtual org.apache.cassandra.db.partitions.PartitionUpdate$CounterMark.path:()Lorg/apache/cassandra/db/rows/CellPath;
lload 4
lload 6
invokestatic org.apache.cassandra.db.ClockAndCount.create:(JJ)Lorg/apache/cassandra/db/ClockAndCount;
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.putCachedCounter:(Ljava/nio/ByteBuffer;Lorg/apache/cassandra/db/Clustering;Lorg/apache/cassandra/config/ColumnDefinition;Lorg/apache/cassandra/db/rows/CellPath;Lorg/apache/cassandra/db/ClockAndCount;)V
4: return
end local 6 end local 4 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/db/CounterMutation;
0 5 1 mark Lorg/apache/cassandra/db/partitions/PartitionUpdate$CounterMark;
0 5 2 currentValue Lorg/apache/cassandra/db/ClockAndCount;
0 5 3 cfs Lorg/apache/cassandra/db/ColumnFamilyStore;
1 5 4 clock J
2 5 6 count J
MethodParameters:
Name Flags
mark
currentValue
cfs
private void updateWithCurrentValuesFromCache(java.util.List<org.apache.cassandra.db.partitions.PartitionUpdate$CounterMark>, org.apache.cassandra.db.ColumnFamilyStore);
descriptor: (Ljava/util/List;Lorg/apache/cassandra/db/ColumnFamilyStore;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
start local 3 1: goto 7
2: StackMap locals: java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.db.partitions.PartitionUpdate$CounterMark
astore 4
start local 4 3: aload 2
aload 0
invokevirtual org.apache.cassandra.db.CounterMutation.key:()Lorg/apache/cassandra/db/DecoratedKey;
invokevirtual org.apache.cassandra.db.DecoratedKey.getKey:()Ljava/nio/ByteBuffer;
aload 4
invokevirtual org.apache.cassandra.db.partitions.PartitionUpdate$CounterMark.clustering:()Lorg/apache/cassandra/db/Clustering;
aload 4
invokevirtual org.apache.cassandra.db.partitions.PartitionUpdate$CounterMark.column:()Lorg/apache/cassandra/config/ColumnDefinition;
aload 4
invokevirtual org.apache.cassandra.db.partitions.PartitionUpdate$CounterMark.path:()Lorg/apache/cassandra/db/rows/CellPath;
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.getCachedCounter:(Ljava/nio/ByteBuffer;Lorg/apache/cassandra/db/Clustering;Lorg/apache/cassandra/config/ColumnDefinition;Lorg/apache/cassandra/db/rows/CellPath;)Lorg/apache/cassandra/db/ClockAndCount;
astore 5
start local 5 4: aload 5
ifnull 7
5: aload 0
aload 4
aload 5
aload 2
invokevirtual org.apache.cassandra.db.CounterMutation.updateWithCurrentValue:(Lorg/apache/cassandra/db/partitions/PartitionUpdate$CounterMark;Lorg/apache/cassandra/db/ClockAndCount;Lorg/apache/cassandra/db/ColumnFamilyStore;)V
6: aload 3
invokeinterface java.util.Iterator.remove:()V
end local 5 end local 4 7: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
8: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/cassandra/db/CounterMutation;
0 9 1 marks Ljava/util/List<Lorg/apache/cassandra/db/partitions/PartitionUpdate$CounterMark;>;
0 9 2 cfs Lorg/apache/cassandra/db/ColumnFamilyStore;
1 9 3 iter Ljava/util/Iterator<Lorg/apache/cassandra/db/partitions/PartitionUpdate$CounterMark;>;
3 7 4 mark Lorg/apache/cassandra/db/partitions/PartitionUpdate$CounterMark;
4 7 5 cached Lorg/apache/cassandra/db/ClockAndCount;
Signature: (Ljava/util/List<Lorg/apache/cassandra/db/partitions/PartitionUpdate$CounterMark;>;Lorg/apache/cassandra/db/ColumnFamilyStore;)V
MethodParameters:
Name Flags
marks
cfs
private void updateWithCurrentValuesFromCFS(java.util.List<org.apache.cassandra.db.partitions.PartitionUpdate$CounterMark>, org.apache.cassandra.db.ColumnFamilyStore);
descriptor: (Ljava/util/List;Lorg/apache/cassandra/db/ColumnFamilyStore;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=13, args_size=3
start local 0 start local 1 start local 2 0: invokestatic org.apache.cassandra.db.filter.ColumnFilter.selectionBuilder:()Lorg/apache/cassandra/db/filter/ColumnFilter$Builder;
astore 3
start local 3 1: aload 2
getfield org.apache.cassandra.db.ColumnFamilyStore.metadata:Lorg/apache/cassandra/config/CFMetaData;
getfield org.apache.cassandra.config.CFMetaData.comparator:Lorg/apache/cassandra/db/ClusteringComparator;
invokestatic org.apache.cassandra.utils.btree.BTreeSet.builder:(Ljava/util/Comparator;)Lorg/apache/cassandra/utils/btree/BTreeSet$Builder;
astore 4
start local 4 2: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 9
StackMap locals: org.apache.cassandra.db.CounterMutation java.util.List org.apache.cassandra.db.ColumnFamilyStore org.apache.cassandra.db.filter.ColumnFilter$Builder org.apache.cassandra.utils.btree.BTreeSet$Builder top java.util.Iterator
StackMap stack:
3: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.db.partitions.PartitionUpdate$CounterMark
astore 5
start local 5 4: aload 5
invokevirtual org.apache.cassandra.db.partitions.PartitionUpdate$CounterMark.clustering:()Lorg/apache/cassandra/db/Clustering;
getstatic org.apache.cassandra.db.Clustering.STATIC_CLUSTERING:Lorg/apache/cassandra/db/Clustering;
if_acmpeq 6
5: aload 4
aload 5
invokevirtual org.apache.cassandra.db.partitions.PartitionUpdate$CounterMark.clustering:()Lorg/apache/cassandra/db/Clustering;
invokevirtual org.apache.cassandra.utils.btree.BTreeSet$Builder.add:(Ljava/lang/Object;)Lorg/apache/cassandra/utils/btree/BTreeSet$Builder;
pop
6: StackMap locals: org.apache.cassandra.db.CounterMutation java.util.List org.apache.cassandra.db.ColumnFamilyStore org.apache.cassandra.db.filter.ColumnFilter$Builder org.apache.cassandra.utils.btree.BTreeSet$Builder org.apache.cassandra.db.partitions.PartitionUpdate$CounterMark java.util.Iterator
StackMap stack:
aload 5
invokevirtual org.apache.cassandra.db.partitions.PartitionUpdate$CounterMark.path:()Lorg/apache/cassandra/db/rows/CellPath;
ifnonnull 8
7: aload 3
aload 5
invokevirtual org.apache.cassandra.db.partitions.PartitionUpdate$CounterMark.column:()Lorg/apache/cassandra/config/ColumnDefinition;
invokevirtual org.apache.cassandra.db.filter.ColumnFilter$Builder.add:(Lorg/apache/cassandra/config/ColumnDefinition;)Lorg/apache/cassandra/db/filter/ColumnFilter$Builder;
pop
goto 9
8: StackMap locals:
StackMap stack:
aload 3
aload 5
invokevirtual org.apache.cassandra.db.partitions.PartitionUpdate$CounterMark.column:()Lorg/apache/cassandra/config/ColumnDefinition;
aload 5
invokevirtual org.apache.cassandra.db.partitions.PartitionUpdate$CounterMark.path:()Lorg/apache/cassandra/db/rows/CellPath;
invokevirtual org.apache.cassandra.db.filter.ColumnFilter$Builder.select:(Lorg/apache/cassandra/config/ColumnDefinition;Lorg/apache/cassandra/db/rows/CellPath;)Lorg/apache/cassandra/db/filter/ColumnFilter$Builder;
pop
end local 5 9: StackMap locals: org.apache.cassandra.db.CounterMutation java.util.List org.apache.cassandra.db.ColumnFamilyStore org.apache.cassandra.db.filter.ColumnFilter$Builder org.apache.cassandra.utils.btree.BTreeSet$Builder top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
10: invokestatic org.apache.cassandra.utils.FBUtilities.nowInSeconds:()I
istore 5
start local 5 11: new org.apache.cassandra.db.filter.ClusteringIndexNamesFilter
dup
aload 4
invokevirtual org.apache.cassandra.utils.btree.BTreeSet$Builder.build:()Lorg/apache/cassandra/utils/btree/BTreeSet;
iconst_0
invokespecial org.apache.cassandra.db.filter.ClusteringIndexNamesFilter.<init>:(Ljava/util/NavigableSet;Z)V
astore 6
start local 6 12: aload 2
getfield org.apache.cassandra.db.ColumnFamilyStore.metadata:Lorg/apache/cassandra/config/CFMetaData;
iload 5
aload 0
invokevirtual org.apache.cassandra.db.CounterMutation.key:()Lorg/apache/cassandra/db/DecoratedKey;
aload 3
invokevirtual org.apache.cassandra.db.filter.ColumnFilter$Builder.build:()Lorg/apache/cassandra/db/filter/ColumnFilter;
aload 6
invokestatic org.apache.cassandra.db.SinglePartitionReadCommand.create:(Lorg/apache/cassandra/config/CFMetaData;ILorg/apache/cassandra/db/DecoratedKey;Lorg/apache/cassandra/db/filter/ColumnFilter;Lorg/apache/cassandra/db/filter/ClusteringIndexFilter;)Lorg/apache/cassandra/db/SinglePartitionReadCommand;
astore 7
start local 7 13: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
invokestatic com.google.common.collect.Iterators.peekingIterator:(Ljava/util/Iterator;)Lcom/google/common/collect/PeekingIterator;
astore 8
start local 8 14: aconst_null
astore 9
aconst_null
astore 10
15: aload 7
invokevirtual org.apache.cassandra.db.SinglePartitionReadCommand.executionController:()Lorg/apache/cassandra/db/ReadExecutionController;
astore 11
start local 11 16: aload 7
aload 2
aload 11
invokevirtual org.apache.cassandra.db.SinglePartitionReadCommand.queryMemtableAndDisk:(Lorg/apache/cassandra/db/ColumnFamilyStore;Lorg/apache/cassandra/db/ReadExecutionController;)Lorg/apache/cassandra/db/rows/UnfilteredRowIterator;
iload 5
invokestatic org.apache.cassandra.db.rows.UnfilteredRowIterators.filter:(Lorg/apache/cassandra/db/rows/UnfilteredRowIterator;I)Lorg/apache/cassandra/db/rows/RowIterator;
astore 12
start local 12 17: aload 0
aload 8
aload 12
invokeinterface org.apache.cassandra.db.rows.RowIterator.staticRow:()Lorg/apache/cassandra/db/rows/Row;
aload 2
invokevirtual org.apache.cassandra.db.CounterMutation.updateForRow:(Lcom/google/common/collect/PeekingIterator;Lorg/apache/cassandra/db/rows/Row;Lorg/apache/cassandra/db/ColumnFamilyStore;)V
18: goto 24
19: StackMap locals: org.apache.cassandra.db.CounterMutation java.util.List org.apache.cassandra.db.ColumnFamilyStore org.apache.cassandra.db.filter.ColumnFilter$Builder org.apache.cassandra.utils.btree.BTreeSet$Builder int org.apache.cassandra.db.filter.ClusteringIndexNamesFilter org.apache.cassandra.db.SinglePartitionReadCommand com.google.common.collect.PeekingIterator java.lang.Throwable java.lang.Throwable org.apache.cassandra.db.ReadExecutionController org.apache.cassandra.db.rows.RowIterator
StackMap stack:
aload 8
invokeinterface com.google.common.collect.PeekingIterator.hasNext:()Z
ifne 23
20: aload 12
ifnull 21
aload 12
invokeinterface org.apache.cassandra.db.rows.RowIterator.close:()V
StackMap locals:
StackMap stack:
21: aload 11
ifnull 22
aload 11
invokevirtual org.apache.cassandra.db.ReadExecutionController.close:()V
22: StackMap locals:
StackMap stack:
return
23: StackMap locals:
StackMap stack:
aload 0
aload 8
aload 12
invokeinterface org.apache.cassandra.db.rows.RowIterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.db.rows.Row
aload 2
invokevirtual org.apache.cassandra.db.CounterMutation.updateForRow:(Lcom/google/common/collect/PeekingIterator;Lorg/apache/cassandra/db/rows/Row;Lorg/apache/cassandra/db/ColumnFamilyStore;)V
24: StackMap locals:
StackMap stack:
aload 12
invokeinterface org.apache.cassandra.db.rows.RowIterator.hasNext:()Z
ifne 19
25: aload 12
ifnull 28
aload 12
invokeinterface org.apache.cassandra.db.rows.RowIterator.close:()V
goto 28
StackMap locals:
StackMap stack: java.lang.Throwable
26: astore 9
aload 12
ifnull 27
aload 12
invokeinterface org.apache.cassandra.db.rows.RowIterator.close:()V
end local 12 StackMap locals:
StackMap stack:
27: aload 9
athrow
StackMap locals:
StackMap stack:
28: aload 11
ifnull 36
aload 11
invokevirtual org.apache.cassandra.db.ReadExecutionController.close:()V
goto 36
StackMap locals:
StackMap stack: java.lang.Throwable
29: astore 10
aload 9
ifnonnull 30
aload 10
astore 9
goto 31
StackMap locals:
StackMap stack:
30: aload 9
aload 10
if_acmpeq 31
aload 9
aload 10
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
31: aload 11
ifnull 32
aload 11
invokevirtual org.apache.cassandra.db.ReadExecutionController.close:()V
end local 11 StackMap locals:
StackMap stack:
32: aload 9
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
33: astore 10
aload 9
ifnonnull 34
aload 10
astore 9
goto 35
StackMap locals:
StackMap stack:
34: aload 9
aload 10
if_acmpeq 35
aload 9
aload 10
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
35: aload 9
athrow
36: StackMap locals:
StackMap stack:
return
end local 8 end local 7 end local 6 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 37 0 this Lorg/apache/cassandra/db/CounterMutation;
0 37 1 marks Ljava/util/List<Lorg/apache/cassandra/db/partitions/PartitionUpdate$CounterMark;>;
0 37 2 cfs Lorg/apache/cassandra/db/ColumnFamilyStore;
1 37 3 builder Lorg/apache/cassandra/db/filter/ColumnFilter$Builder;
2 37 4 names Lorg/apache/cassandra/utils/btree/BTreeSet$Builder<Lorg/apache/cassandra/db/Clustering;>;
4 9 5 mark Lorg/apache/cassandra/db/partitions/PartitionUpdate$CounterMark;
11 37 5 nowInSec I
12 37 6 filter Lorg/apache/cassandra/db/filter/ClusteringIndexNamesFilter;
13 37 7 cmd Lorg/apache/cassandra/db/SinglePartitionReadCommand;
14 37 8 markIter Lcom/google/common/collect/PeekingIterator<Lorg/apache/cassandra/db/partitions/PartitionUpdate$CounterMark;>;
16 32 11 controller Lorg/apache/cassandra/db/ReadExecutionController;
17 27 12 partition Lorg/apache/cassandra/db/rows/RowIterator;
Exception table:
from to target type
17 20 26 any
23 25 26 any
16 21 29 any
23 28 29 any
15 22 33 any
23 33 33 any
Signature: (Ljava/util/List<Lorg/apache/cassandra/db/partitions/PartitionUpdate$CounterMark;>;Lorg/apache/cassandra/db/ColumnFamilyStore;)V
MethodParameters:
Name Flags
marks
cfs
private int compare(org.apache.cassandra.db.Clustering, org.apache.cassandra.db.Clustering, org.apache.cassandra.db.ColumnFamilyStore);
descriptor: (Lorg/apache/cassandra/db/Clustering;Lorg/apache/cassandra/db/Clustering;Lorg/apache/cassandra/db/ColumnFamilyStore;)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
getstatic org.apache.cassandra.db.Clustering.STATIC_CLUSTERING:Lorg/apache/cassandra/db/Clustering;
if_acmpne 4
1: aload 2
getstatic org.apache.cassandra.db.Clustering.STATIC_CLUSTERING:Lorg/apache/cassandra/db/Clustering;
if_acmpne 2
iconst_0
goto 3
StackMap locals:
StackMap stack:
2: iconst_m1
StackMap locals:
StackMap stack: int
3: ireturn
4: StackMap locals:
StackMap stack:
aload 2
getstatic org.apache.cassandra.db.Clustering.STATIC_CLUSTERING:Lorg/apache/cassandra/db/Clustering;
if_acmpne 6
5: iconst_1
ireturn
6: StackMap locals:
StackMap stack:
aload 3
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.getComparator:()Lorg/apache/cassandra/db/ClusteringComparator;
aload 1
aload 2
invokevirtual org.apache.cassandra.db.ClusteringComparator.compare:(Lorg/apache/cassandra/db/Clustering;Lorg/apache/cassandra/db/Clustering;)I
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/cassandra/db/CounterMutation;
0 7 1 c1 Lorg/apache/cassandra/db/Clustering;
0 7 2 c2 Lorg/apache/cassandra/db/Clustering;
0 7 3 cfs Lorg/apache/cassandra/db/ColumnFamilyStore;
MethodParameters:
Name Flags
c1
c2
cfs
private void updateForRow(com.google.common.collect.PeekingIterator<org.apache.cassandra.db.partitions.PartitionUpdate$CounterMark>, org.apache.cassandra.db.rows.Row, org.apache.cassandra.db.ColumnFamilyStore);
descriptor: (Lcom/google/common/collect/PeekingIterator;Lorg/apache/cassandra/db/rows/Row;Lorg/apache/cassandra/db/ColumnFamilyStore;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iconst_0
istore 4
start local 4 1: goto 3
2: StackMap locals: int
StackMap stack:
aload 1
invokeinterface com.google.common.collect.PeekingIterator.next:()Ljava/lang/Object;
pop
3: StackMap locals:
StackMap stack:
aload 1
invokeinterface com.google.common.collect.PeekingIterator.hasNext:()Z
ifeq 4
aload 0
aload 1
invokeinterface com.google.common.collect.PeekingIterator.peek:()Ljava/lang/Object;
checkcast org.apache.cassandra.db.partitions.PartitionUpdate$CounterMark
invokevirtual org.apache.cassandra.db.partitions.PartitionUpdate$CounterMark.clustering:()Lorg/apache/cassandra/db/Clustering;
aload 2
invokeinterface org.apache.cassandra.db.rows.Row.clustering:()Lorg/apache/cassandra/db/Clustering;
aload 3
invokevirtual org.apache.cassandra.db.CounterMutation.compare:(Lorg/apache/cassandra/db/Clustering;Lorg/apache/cassandra/db/Clustering;Lorg/apache/cassandra/db/ColumnFamilyStore;)I
dup
istore 4
iflt 2
4: StackMap locals:
StackMap stack:
aload 1
invokeinterface com.google.common.collect.PeekingIterator.hasNext:()Z
ifne 16
5: return
6: StackMap locals:
StackMap stack:
aload 1
invokeinterface com.google.common.collect.PeekingIterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.db.partitions.PartitionUpdate$CounterMark
astore 5
start local 5 7: aload 5
invokevirtual org.apache.cassandra.db.partitions.PartitionUpdate$CounterMark.path:()Lorg/apache/cassandra/db/rows/CellPath;
ifnonnull 8
aload 2
aload 5
invokevirtual org.apache.cassandra.db.partitions.PartitionUpdate$CounterMark.column:()Lorg/apache/cassandra/config/ColumnDefinition;
invokeinterface org.apache.cassandra.db.rows.Row.getCell:(Lorg/apache/cassandra/config/ColumnDefinition;)Lorg/apache/cassandra/db/rows/Cell;
goto 9
StackMap locals: org.apache.cassandra.db.partitions.PartitionUpdate$CounterMark
StackMap stack:
8: aload 2
aload 5
invokevirtual org.apache.cassandra.db.partitions.PartitionUpdate$CounterMark.column:()Lorg/apache/cassandra/config/ColumnDefinition;
aload 5
invokevirtual org.apache.cassandra.db.partitions.PartitionUpdate$CounterMark.path:()Lorg/apache/cassandra/db/rows/CellPath;
invokeinterface org.apache.cassandra.db.rows.Row.getCell:(Lorg/apache/cassandra/config/ColumnDefinition;Lorg/apache/cassandra/db/rows/CellPath;)Lorg/apache/cassandra/db/rows/Cell;
StackMap locals:
StackMap stack: org.apache.cassandra.db.rows.Cell
9: astore 6
start local 6 10: aload 6
ifnull 13
11: aload 0
aload 5
invokestatic org.apache.cassandra.db.context.CounterContext.instance:()Lorg/apache/cassandra/db/context/CounterContext;
aload 6
invokevirtual org.apache.cassandra.db.rows.Cell.value:()Ljava/nio/ByteBuffer;
invokevirtual org.apache.cassandra.db.context.CounterContext.getLocalClockAndCount:(Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/db/ClockAndCount;
aload 3
invokevirtual org.apache.cassandra.db.CounterMutation.updateWithCurrentValue:(Lorg/apache/cassandra/db/partitions/PartitionUpdate$CounterMark;Lorg/apache/cassandra/db/ClockAndCount;Lorg/apache/cassandra/db/ColumnFamilyStore;)V
12: aload 1
invokeinterface com.google.common.collect.PeekingIterator.remove:()V
13: StackMap locals: org.apache.cassandra.db.rows.Cell
StackMap stack:
aload 1
invokeinterface com.google.common.collect.PeekingIterator.hasNext:()Z
ifne 15
14: return
15: StackMap locals:
StackMap stack:
aload 0
aload 1
invokeinterface com.google.common.collect.PeekingIterator.peek:()Ljava/lang/Object;
checkcast org.apache.cassandra.db.partitions.PartitionUpdate$CounterMark
invokevirtual org.apache.cassandra.db.partitions.PartitionUpdate$CounterMark.clustering:()Lorg/apache/cassandra/db/Clustering;
aload 2
invokeinterface org.apache.cassandra.db.rows.Row.clustering:()Lorg/apache/cassandra/db/Clustering;
aload 3
invokevirtual org.apache.cassandra.db.CounterMutation.compare:(Lorg/apache/cassandra/db/Clustering;Lorg/apache/cassandra/db/Clustering;Lorg/apache/cassandra/db/ColumnFamilyStore;)I
istore 4
end local 6 end local 5 16: StackMap locals:
StackMap stack:
iload 4
ifeq 6
17: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/apache/cassandra/db/CounterMutation;
0 18 1 markIter Lcom/google/common/collect/PeekingIterator<Lorg/apache/cassandra/db/partitions/PartitionUpdate$CounterMark;>;
0 18 2 row Lorg/apache/cassandra/db/rows/Row;
0 18 3 cfs Lorg/apache/cassandra/db/ColumnFamilyStore;
1 18 4 cmp I
7 16 5 mark Lorg/apache/cassandra/db/partitions/PartitionUpdate$CounterMark;
10 16 6 cell Lorg/apache/cassandra/db/rows/Cell;
Signature: (Lcom/google/common/collect/PeekingIterator<Lorg/apache/cassandra/db/partitions/PartitionUpdate$CounterMark;>;Lorg/apache/cassandra/db/rows/Row;Lorg/apache/cassandra/db/ColumnFamilyStore;)V
MethodParameters:
Name Flags
markIter
row
cfs
public long getTimeout();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: invokestatic org.apache.cassandra.config.DatabaseDescriptor.getCounterWriteRpcTimeout:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/CounterMutation;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
invokevirtual org.apache.cassandra.db.CounterMutation.toString:(Z)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/CounterMutation;
public java.lang.String toString(boolean);
descriptor: (Z)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: ldc "CounterMutation(%s, %s)"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.apache.cassandra.db.CounterMutation.mutation:Lorg/apache/cassandra/db/Mutation;
iload 1
invokevirtual org.apache.cassandra.db.Mutation.toString:(Z)Ljava/lang/String;
aastore
dup
iconst_1
aload 0
getfield org.apache.cassandra.db.CounterMutation.consistency:Lorg/apache/cassandra/db/ConsistencyLevel;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/CounterMutation;
0 1 1 shallow Z
MethodParameters:
Name Flags
shallow
}
SourceFile: "CounterMutation.java"
NestMembers:
org.apache.cassandra.db.CounterMutation$1 org.apache.cassandra.db.CounterMutation$1$1 org.apache.cassandra.db.CounterMutation$1$1$1 org.apache.cassandra.db.CounterMutation$CounterMutationSerializer
InnerClasses:
org.apache.cassandra.db.CounterMutation$1
public CounterMutationSerializer = org.apache.cassandra.db.CounterMutation$CounterMutationSerializer of org.apache.cassandra.db.CounterMutation
public Builder = org.apache.cassandra.db.filter.ColumnFilter$Builder of org.apache.cassandra.db.filter.ColumnFilter
public CounterMark = org.apache.cassandra.db.partitions.PartitionUpdate$CounterMark of org.apache.cassandra.db.partitions.PartitionUpdate
public Verb = org.apache.cassandra.net.MessagingService$Verb of org.apache.cassandra.net.MessagingService
public Builder = org.apache.cassandra.utils.btree.BTreeSet$Builder of org.apache.cassandra.utils.btree.BTreeSet