final class org.apache.cassandra.db.partitions.AtomicBTreePartition$RowUpdater implements org.apache.cassandra.utils.btree.UpdateFunction<org.apache.cassandra.db.rows.Row, org.apache.cassandra.db.rows.Row>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.apache.cassandra.db.partitions.AtomicBTreePartition$RowUpdater
super_class: java.lang.Object
{
final org.apache.cassandra.db.partitions.AtomicBTreePartition updating;
descriptor: Lorg/apache/cassandra/db/partitions/AtomicBTreePartition;
flags: (0x0010) ACC_FINAL
final org.apache.cassandra.utils.memory.MemtableAllocator allocator;
descriptor: Lorg/apache/cassandra/utils/memory/MemtableAllocator;
flags: (0x0010) ACC_FINAL
final org.apache.cassandra.utils.concurrent.OpOrder$Group writeOp;
descriptor: Lorg/apache/cassandra/utils/concurrent/OpOrder$Group;
flags: (0x0010) ACC_FINAL
final org.apache.cassandra.index.transactions.UpdateTransaction indexer;
descriptor: Lorg/apache/cassandra/index/transactions/UpdateTransaction;
flags: (0x0010) ACC_FINAL
final int nowInSec;
descriptor: I
flags: (0x0010) ACC_FINAL
org.apache.cassandra.db.partitions.AbstractBTreePartition$Holder ref;
descriptor: Lorg/apache/cassandra/db/partitions/AbstractBTreePartition$Holder;
flags: (0x0000)
org.apache.cassandra.db.rows.Row$Builder regularBuilder;
descriptor: Lorg/apache/cassandra/db/rows/Row$Builder;
flags: (0x0000)
long dataSize;
descriptor: J
flags: (0x0000)
long heapSize;
descriptor: J
flags: (0x0000)
long colUpdateTimeDelta;
descriptor: J
flags: (0x0000)
java.util.List<org.apache.cassandra.db.rows.Row> inserted;
descriptor: Ljava/util/List;
flags: (0x0000)
Signature: Ljava/util/List<Lorg/apache/cassandra/db/rows/Row;>;
private void <init>(org.apache.cassandra.db.partitions.AtomicBTreePartition, org.apache.cassandra.utils.memory.MemtableAllocator, org.apache.cassandra.utils.concurrent.OpOrder$Group, org.apache.cassandra.index.transactions.UpdateTransaction);
descriptor: (Lorg/apache/cassandra/db/partitions/AtomicBTreePartition;Lorg/apache/cassandra/utils/memory/MemtableAllocator;Lorg/apache/cassandra/utils/concurrent/OpOrder$Group;Lorg/apache/cassandra/index/transactions/UpdateTransaction;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
ldc 9223372036854775807
putfield org.apache.cassandra.db.partitions.AtomicBTreePartition$RowUpdater.colUpdateTimeDelta:J
2: aload 0
aload 1
putfield org.apache.cassandra.db.partitions.AtomicBTreePartition$RowUpdater.updating:Lorg/apache/cassandra/db/partitions/AtomicBTreePartition;
3: aload 0
aload 2
putfield org.apache.cassandra.db.partitions.AtomicBTreePartition$RowUpdater.allocator:Lorg/apache/cassandra/utils/memory/MemtableAllocator;
4: aload 0
aload 3
putfield org.apache.cassandra.db.partitions.AtomicBTreePartition$RowUpdater.writeOp:Lorg/apache/cassandra/utils/concurrent/OpOrder$Group;
5: aload 0
aload 4
putfield org.apache.cassandra.db.partitions.AtomicBTreePartition$RowUpdater.indexer:Lorg/apache/cassandra/index/transactions/UpdateTransaction;
6: aload 0
invokestatic org.apache.cassandra.utils.FBUtilities.nowInSeconds:()I
putfield org.apache.cassandra.db.partitions.AtomicBTreePartition$RowUpdater.nowInSec:I
7: return
end local 4 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/db/partitions/AtomicBTreePartition$RowUpdater;
0 8 1 updating Lorg/apache/cassandra/db/partitions/AtomicBTreePartition;
0 8 2 allocator Lorg/apache/cassandra/utils/memory/MemtableAllocator;
0 8 3 writeOp Lorg/apache/cassandra/utils/concurrent/OpOrder$Group;
0 8 4 indexer Lorg/apache/cassandra/index/transactions/UpdateTransaction;
MethodParameters:
Name Flags
updating
allocator
writeOp
indexer
private org.apache.cassandra.db.rows.Row$Builder builder(org.apache.cassandra.db.Clustering);
descriptor: (Lorg/apache/cassandra/db/Clustering;)Lorg/apache/cassandra/db/rows/Row$Builder;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
getstatic org.apache.cassandra.db.Clustering.STATIC_CLUSTERING:Lorg/apache/cassandra/db/Clustering;
if_acmpne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: istore 2
start local 2 3: iload 2
ifeq 5
4: aload 0
getfield org.apache.cassandra.db.partitions.AtomicBTreePartition$RowUpdater.allocator:Lorg/apache/cassandra/utils/memory/MemtableAllocator;
aload 0
getfield org.apache.cassandra.db.partitions.AtomicBTreePartition$RowUpdater.writeOp:Lorg/apache/cassandra/utils/concurrent/OpOrder$Group;
invokevirtual org.apache.cassandra.utils.memory.MemtableAllocator.rowBuilder:(Lorg/apache/cassandra/utils/concurrent/OpOrder$Group;)Lorg/apache/cassandra/db/rows/Row$Builder;
areturn
5: StackMap locals: int
StackMap stack:
aload 0
getfield org.apache.cassandra.db.partitions.AtomicBTreePartition$RowUpdater.regularBuilder:Lorg/apache/cassandra/db/rows/Row$Builder;
ifnonnull 7
6: aload 0
aload 0
getfield org.apache.cassandra.db.partitions.AtomicBTreePartition$RowUpdater.allocator:Lorg/apache/cassandra/utils/memory/MemtableAllocator;
aload 0
getfield org.apache.cassandra.db.partitions.AtomicBTreePartition$RowUpdater.writeOp:Lorg/apache/cassandra/utils/concurrent/OpOrder$Group;
invokevirtual org.apache.cassandra.utils.memory.MemtableAllocator.rowBuilder:(Lorg/apache/cassandra/utils/concurrent/OpOrder$Group;)Lorg/apache/cassandra/db/rows/Row$Builder;
putfield org.apache.cassandra.db.partitions.AtomicBTreePartition$RowUpdater.regularBuilder:Lorg/apache/cassandra/db/rows/Row$Builder;
7: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.db.partitions.AtomicBTreePartition$RowUpdater.regularBuilder:Lorg/apache/cassandra/db/rows/Row$Builder;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/cassandra/db/partitions/AtomicBTreePartition$RowUpdater;
0 8 1 clustering Lorg/apache/cassandra/db/Clustering;
3 8 2 isStatic Z
MethodParameters:
Name Flags
clustering
public org.apache.cassandra.db.rows.Row apply(org.apache.cassandra.db.rows.Row);
descriptor: (Lorg/apache/cassandra/db/rows/Row;)Lorg/apache/cassandra/db/rows/Row;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 1
aload 0
aload 1
invokeinterface org.apache.cassandra.db.rows.Row.clustering:()Lorg/apache/cassandra/db/Clustering;
invokevirtual org.apache.cassandra.db.partitions.AtomicBTreePartition$RowUpdater.builder:(Lorg/apache/cassandra/db/Clustering;)Lorg/apache/cassandra/db/rows/Row$Builder;
invokestatic org.apache.cassandra.db.rows.Rows.copy:(Lorg/apache/cassandra/db/rows/Row;Lorg/apache/cassandra/db/rows/Row$Builder;)Lorg/apache/cassandra/db/rows/Row$Builder;
invokeinterface org.apache.cassandra.db.rows.Row$Builder.build:()Lorg/apache/cassandra/db/rows/Row;
astore 2
start local 2 1: aload 0
getfield org.apache.cassandra.db.partitions.AtomicBTreePartition$RowUpdater.indexer:Lorg/apache/cassandra/index/transactions/UpdateTransaction;
aload 1
invokeinterface org.apache.cassandra.index.transactions.UpdateTransaction.onInserted:(Lorg/apache/cassandra/db/rows/Row;)V
2: aload 0
dup
getfield org.apache.cassandra.db.partitions.AtomicBTreePartition$RowUpdater.dataSize:J
aload 2
invokeinterface org.apache.cassandra.db.rows.Row.dataSize:()I
i2l
ladd
putfield org.apache.cassandra.db.partitions.AtomicBTreePartition$RowUpdater.dataSize:J
3: aload 0
dup
getfield org.apache.cassandra.db.partitions.AtomicBTreePartition$RowUpdater.heapSize:J
aload 2
invokeinterface org.apache.cassandra.db.rows.Row.unsharedHeapSizeExcludingData:()J
ladd
putfield org.apache.cassandra.db.partitions.AtomicBTreePartition$RowUpdater.heapSize:J
4: aload 0
getfield org.apache.cassandra.db.partitions.AtomicBTreePartition$RowUpdater.inserted:Ljava/util/List;
ifnonnull 6
5: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.apache.cassandra.db.partitions.AtomicBTreePartition$RowUpdater.inserted:Ljava/util/List;
6: StackMap locals: org.apache.cassandra.db.rows.Row
StackMap stack:
aload 0
getfield org.apache.cassandra.db.partitions.AtomicBTreePartition$RowUpdater.inserted:Ljava/util/List;
aload 2
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
7: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/cassandra/db/partitions/AtomicBTreePartition$RowUpdater;
0 8 1 insert Lorg/apache/cassandra/db/rows/Row;
1 8 2 data Lorg/apache/cassandra/db/rows/Row;
MethodParameters:
Name Flags
insert
public org.apache.cassandra.db.rows.Row apply(org.apache.cassandra.db.rows.Row, org.apache.cassandra.db.rows.Row);
descriptor: (Lorg/apache/cassandra/db/rows/Row;Lorg/apache/cassandra/db/rows/Row;)Lorg/apache/cassandra/db/rows/Row;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokeinterface org.apache.cassandra.db.rows.Row.clustering:()Lorg/apache/cassandra/db/Clustering;
invokevirtual org.apache.cassandra.db.partitions.AtomicBTreePartition$RowUpdater.builder:(Lorg/apache/cassandra/db/Clustering;)Lorg/apache/cassandra/db/rows/Row$Builder;
astore 3
start local 3 1: aload 0
aload 0
getfield org.apache.cassandra.db.partitions.AtomicBTreePartition$RowUpdater.colUpdateTimeDelta:J
aload 1
aload 2
aload 3
aload 0
getfield org.apache.cassandra.db.partitions.AtomicBTreePartition$RowUpdater.nowInSec:I
invokestatic org.apache.cassandra.db.rows.Rows.merge:(Lorg/apache/cassandra/db/rows/Row;Lorg/apache/cassandra/db/rows/Row;Lorg/apache/cassandra/db/rows/Row$Builder;I)J
invokestatic java.lang.Math.min:(JJ)J
putfield org.apache.cassandra.db.partitions.AtomicBTreePartition$RowUpdater.colUpdateTimeDelta:J
2: aload 3
invokeinterface org.apache.cassandra.db.rows.Row$Builder.build:()Lorg/apache/cassandra/db/rows/Row;
astore 4
start local 4 3: aload 0
getfield org.apache.cassandra.db.partitions.AtomicBTreePartition$RowUpdater.indexer:Lorg/apache/cassandra/index/transactions/UpdateTransaction;
aload 1
aload 4
invokeinterface org.apache.cassandra.index.transactions.UpdateTransaction.onUpdated:(Lorg/apache/cassandra/db/rows/Row;Lorg/apache/cassandra/db/rows/Row;)V
4: aload 0
dup
getfield org.apache.cassandra.db.partitions.AtomicBTreePartition$RowUpdater.dataSize:J
aload 4
invokeinterface org.apache.cassandra.db.rows.Row.dataSize:()I
aload 1
invokeinterface org.apache.cassandra.db.rows.Row.dataSize:()I
isub
i2l
ladd
putfield org.apache.cassandra.db.partitions.AtomicBTreePartition$RowUpdater.dataSize:J
5: aload 0
dup
getfield org.apache.cassandra.db.partitions.AtomicBTreePartition$RowUpdater.heapSize:J
aload 4
invokeinterface org.apache.cassandra.db.rows.Row.unsharedHeapSizeExcludingData:()J
aload 1
invokeinterface org.apache.cassandra.db.rows.Row.unsharedHeapSizeExcludingData:()J
lsub
ladd
putfield org.apache.cassandra.db.partitions.AtomicBTreePartition$RowUpdater.heapSize:J
6: aload 0
getfield org.apache.cassandra.db.partitions.AtomicBTreePartition$RowUpdater.inserted:Ljava/util/List;
ifnonnull 8
7: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.apache.cassandra.db.partitions.AtomicBTreePartition$RowUpdater.inserted:Ljava/util/List;
8: StackMap locals: org.apache.cassandra.db.rows.Row$Builder org.apache.cassandra.db.rows.Row
StackMap stack:
aload 0
getfield org.apache.cassandra.db.partitions.AtomicBTreePartition$RowUpdater.inserted:Ljava/util/List;
aload 4
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
9: aload 4
areturn
end local 4 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/db/partitions/AtomicBTreePartition$RowUpdater;
0 10 1 existing Lorg/apache/cassandra/db/rows/Row;
0 10 2 update Lorg/apache/cassandra/db/rows/Row;
1 10 3 builder Lorg/apache/cassandra/db/rows/Row$Builder;
3 10 4 reconciled Lorg/apache/cassandra/db/rows/Row;
MethodParameters:
Name Flags
existing
update
protected void reset();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
lconst_0
putfield org.apache.cassandra.db.partitions.AtomicBTreePartition$RowUpdater.dataSize:J
1: aload 0
lconst_0
putfield org.apache.cassandra.db.partitions.AtomicBTreePartition$RowUpdater.heapSize:J
2: aload 0
getfield org.apache.cassandra.db.partitions.AtomicBTreePartition$RowUpdater.inserted:Ljava/util/List;
ifnull 4
3: aload 0
getfield org.apache.cassandra.db.partitions.AtomicBTreePartition$RowUpdater.inserted:Ljava/util/List;
invokeinterface java.util.List.clear:()V
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/db/partitions/AtomicBTreePartition$RowUpdater;
public boolean abortEarly();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.partitions.AtomicBTreePartition$RowUpdater.updating:Lorg/apache/cassandra/db/partitions/AtomicBTreePartition;
getfield org.apache.cassandra.db.partitions.AtomicBTreePartition.ref:Lorg/apache/cassandra/db/partitions/AbstractBTreePartition$Holder;
aload 0
getfield org.apache.cassandra.db.partitions.AtomicBTreePartition$RowUpdater.ref:Lorg/apache/cassandra/db/partitions/AbstractBTreePartition$Holder;
if_acmpeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/db/partitions/AtomicBTreePartition$RowUpdater;
public void allocated(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
dup
getfield org.apache.cassandra.db.partitions.AtomicBTreePartition$RowUpdater.heapSize:J
lload 1
ladd
putfield org.apache.cassandra.db.partitions.AtomicBTreePartition$RowUpdater.heapSize:J
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/db/partitions/AtomicBTreePartition$RowUpdater;
0 2 1 heapSize J
MethodParameters:
Name Flags
heapSize
protected void finish();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.partitions.AtomicBTreePartition$RowUpdater.allocator:Lorg/apache/cassandra/utils/memory/MemtableAllocator;
invokevirtual org.apache.cassandra.utils.memory.MemtableAllocator.onHeap:()Lorg/apache/cassandra/utils/memory/MemtableAllocator$SubAllocator;
aload 0
getfield org.apache.cassandra.db.partitions.AtomicBTreePartition$RowUpdater.heapSize:J
aload 0
getfield org.apache.cassandra.db.partitions.AtomicBTreePartition$RowUpdater.writeOp:Lorg/apache/cassandra/utils/concurrent/OpOrder$Group;
invokevirtual org.apache.cassandra.utils.memory.MemtableAllocator$SubAllocator.adjust:(JLorg/apache/cassandra/utils/concurrent/OpOrder$Group;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/db/partitions/AtomicBTreePartition$RowUpdater;
public java.lang.Object apply(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
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.db.rows.Row
aload 2
checkcast org.apache.cassandra.db.rows.Row
invokevirtual org.apache.cassandra.db.partitions.AtomicBTreePartition$RowUpdater.apply:(Lorg/apache/cassandra/db/rows/Row;Lorg/apache/cassandra/db/rows/Row;)Lorg/apache/cassandra/db/rows/Row;
areturn
LocalVariableTable:
Start End Slot Name Signature
public java.lang.Object apply(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast org.apache.cassandra.db.rows.Row
invokevirtual org.apache.cassandra.db.partitions.AtomicBTreePartition$RowUpdater.apply:(Lorg/apache/cassandra/db/rows/Row;)Lorg/apache/cassandra/db/rows/Row;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Lorg/apache/cassandra/utils/btree/UpdateFunction<Lorg/apache/cassandra/db/rows/Row;Lorg/apache/cassandra/db/rows/Row;>;
SourceFile: "AtomicBTreePartition.java"
NestHost: org.apache.cassandra.db.partitions.AtomicBTreePartition
InnerClasses:
protected final Holder = org.apache.cassandra.db.partitions.AbstractBTreePartition$Holder of org.apache.cassandra.db.partitions.AbstractBTreePartition
private final RowUpdater = org.apache.cassandra.db.partitions.AtomicBTreePartition$RowUpdater of org.apache.cassandra.db.partitions.AtomicBTreePartition
public abstract Builder = org.apache.cassandra.db.rows.Row$Builder of org.apache.cassandra.db.rows.Row
public final Group = org.apache.cassandra.utils.concurrent.OpOrder$Group of org.apache.cassandra.utils.concurrent.OpOrder
public final SubAllocator = org.apache.cassandra.utils.memory.MemtableAllocator$SubAllocator of org.apache.cassandra.utils.memory.MemtableAllocator