class org.apache.cassandra.db.Memtable$StatsCollector
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.cassandra.db.Memtable$StatsCollector
super_class: java.lang.Object
{
private final java.util.concurrent.atomic.AtomicReference<org.apache.cassandra.db.rows.EncodingStats> stats;
descriptor: Ljava/util/concurrent/atomic/AtomicReference;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/concurrent/atomic/AtomicReference<Lorg/apache/cassandra/db/rows/EncodingStats;>;
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=1, args_size=1
start local 0 // org.apache.cassandra.db.Memtable$StatsCollector this
0: .line 635
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 637
aload 0 /* this */
new java.util.concurrent.atomic.AtomicReference
dup
getstatic org.apache.cassandra.db.rows.EncodingStats.NO_STATS:Lorg/apache/cassandra/db/rows/EncodingStats;
invokespecial java.util.concurrent.atomic.AtomicReference.<init>:(Ljava/lang/Object;)V
putfield org.apache.cassandra.db.Memtable$StatsCollector.stats:Ljava/util/concurrent/atomic/AtomicReference;
2: .line 635
return
end local 0 // org.apache.cassandra.db.Memtable$StatsCollector this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/db/Memtable$StatsCollector;
public void update(org.apache.cassandra.db.rows.EncodingStats);
descriptor: (Lorg/apache/cassandra/db/rows/EncodingStats;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 // org.apache.cassandra.db.Memtable$StatsCollector this
start local 1 // org.apache.cassandra.db.rows.EncodingStats newStats
0: .line 643
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield org.apache.cassandra.db.Memtable$StatsCollector.stats:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast org.apache.cassandra.db.rows.EncodingStats
astore 2 /* current */
start local 2 // org.apache.cassandra.db.rows.EncodingStats current
1: .line 644
aload 2 /* current */
aload 1 /* newStats */
invokevirtual org.apache.cassandra.db.rows.EncodingStats.mergeWith:(Lorg/apache/cassandra/db/rows/EncodingStats;)Lorg/apache/cassandra/db/rows/EncodingStats;
astore 3 /* updated */
start local 3 // org.apache.cassandra.db.rows.EncodingStats updated
2: .line 645
aload 0 /* this */
getfield org.apache.cassandra.db.Memtable$StatsCollector.stats:Ljava/util/concurrent/atomic/AtomicReference;
aload 2 /* current */
aload 3 /* updated */
invokevirtual java.util.concurrent.atomic.AtomicReference.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 0
3: .line 646
return
end local 3 // org.apache.cassandra.db.rows.EncodingStats updated
end local 2 // org.apache.cassandra.db.rows.EncodingStats current
end local 1 // org.apache.cassandra.db.rows.EncodingStats newStats
end local 0 // org.apache.cassandra.db.Memtable$StatsCollector this
LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/db/Memtable$StatsCollector;
0 4 1 newStats Lorg/apache/cassandra/db/rows/EncodingStats;
1 4 2 current Lorg/apache/cassandra/db/rows/EncodingStats;
2 4 3 updated Lorg/apache/cassandra/db/rows/EncodingStats;
MethodParameters:
Name Flags
newStats
public org.apache.cassandra.db.rows.EncodingStats get();
descriptor: ()Lorg/apache/cassandra/db/rows/EncodingStats;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 // org.apache.cassandra.db.Memtable$StatsCollector this
0: .line 652
aload 0 /* this */
getfield org.apache.cassandra.db.Memtable$StatsCollector.stats:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast org.apache.cassandra.db.rows.EncodingStats
areturn
end local 0 // org.apache.cassandra.db.Memtable$StatsCollector this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/Memtable$StatsCollector;
}
SourceFile: "Memtable.java"
NestHost: org.apache.cassandra.db.Memtable
InnerClasses:
private StatsCollector = org.apache.cassandra.db.Memtable$StatsCollector of org.apache.cassandra.db.Memtable