class org.apache.cassandra.db.ReadCommand$1MetricRecording extends org.apache.cassandra.db.transform.Transformation<org.apache.cassandra.db.rows.UnfilteredRowIterator>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.cassandra.db.ReadCommand$1MetricRecording
super_class: org.apache.cassandra.db.transform.Transformation
{
private final int failureThreshold;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int warningThreshold;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean respectTombstoneThresholds;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean enforceStrictLiveness;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int liveRows;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int tombstones;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private org.apache.cassandra.db.DecoratedKey currentKey;
descriptor: Lorg/apache/cassandra/db/DecoratedKey;
flags: (0x0002) ACC_PRIVATE
final org.apache.cassandra.db.ReadCommand this$0;
descriptor: Lorg/apache/cassandra/db/ReadCommand;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private final org.apache.cassandra.metrics.TableMetrics val$metric;
descriptor: Lorg/apache/cassandra/metrics/TableMetrics;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final long val$startTimeNanos;
descriptor: J
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(org.apache.cassandra.db.ReadCommand, org.apache.cassandra.metrics.TableMetrics, long);
descriptor: (Lorg/apache/cassandra/db/ReadCommand;Lorg/apache/cassandra/metrics/TableMetrics;J)V
flags: (0x0000)
Code:
stack=3, locals=5, args_size=4
start local 0 0: aload 0
aload 1
putfield org.apache.cassandra.db.ReadCommand$1MetricRecording.this$0:Lorg/apache/cassandra/db/ReadCommand;
aload 0
aload 2
putfield org.apache.cassandra.db.ReadCommand$1MetricRecording.val$metric:Lorg/apache/cassandra/metrics/TableMetrics;
aload 0
lload 3
putfield org.apache.cassandra.db.ReadCommand$1MetricRecording.val$startTimeNanos:J
aload 0
invokespecial org.apache.cassandra.db.transform.Transformation.<init>:()V
1: aload 0
invokestatic org.apache.cassandra.config.DatabaseDescriptor.getTombstoneFailureThreshold:()I
putfield org.apache.cassandra.db.ReadCommand$1MetricRecording.failureThreshold:I
2: aload 0
invokestatic org.apache.cassandra.config.DatabaseDescriptor.getTombstoneWarnThreshold:()I
putfield org.apache.cassandra.db.ReadCommand$1MetricRecording.warningThreshold:I
3: aload 0
aload 1
invokevirtual org.apache.cassandra.db.ReadCommand.metadata:()Lorg/apache/cassandra/config/CFMetaData;
getfield org.apache.cassandra.config.CFMetaData.ksName:Ljava/lang/String;
invokestatic org.apache.cassandra.config.SchemaConstants.isLocalSystemKeyspace:(Ljava/lang/String;)Z
ifeq 4
iconst_0
goto 5
StackMap locals: org.apache.cassandra.db.ReadCommand$1MetricRecording org.apache.cassandra.db.ReadCommand org.apache.cassandra.metrics.TableMetrics long
StackMap stack: org.apache.cassandra.db.ReadCommand$1MetricRecording
4: iconst_1
StackMap locals: org.apache.cassandra.db.ReadCommand$1MetricRecording org.apache.cassandra.db.ReadCommand org.apache.cassandra.metrics.TableMetrics long
StackMap stack: org.apache.cassandra.db.ReadCommand$1MetricRecording int
5: putfield org.apache.cassandra.db.ReadCommand$1MetricRecording.respectTombstoneThresholds:Z
6: aload 0
aload 1
getfield org.apache.cassandra.db.ReadCommand.metadata:Lorg/apache/cassandra/config/CFMetaData;
invokevirtual org.apache.cassandra.config.CFMetaData.enforceStrictLiveness:()Z
putfield org.apache.cassandra.db.ReadCommand$1MetricRecording.enforceStrictLiveness:Z
7: aload 0
iconst_0
putfield org.apache.cassandra.db.ReadCommand$1MetricRecording.liveRows:I
8: aload 0
iconst_0
putfield org.apache.cassandra.db.ReadCommand$1MetricRecording.tombstones:I
9: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/cassandra/db/ReadCommand$1MetricRecording;
MethodParameters:
Name Flags
this$0 final
val$metric final
val$startTimeNanos final
public org.apache.cassandra.db.rows.UnfilteredRowIterator applyToPartition(org.apache.cassandra.db.rows.UnfilteredRowIterator);
descriptor: (Lorg/apache/cassandra/db/rows/UnfilteredRowIterator;)Lorg/apache/cassandra/db/rows/UnfilteredRowIterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokeinterface org.apache.cassandra.db.rows.UnfilteredRowIterator.partitionKey:()Lorg/apache/cassandra/db/DecoratedKey;
putfield org.apache.cassandra.db.ReadCommand$1MetricRecording.currentKey:Lorg/apache/cassandra/db/DecoratedKey;
1: aload 1
aload 0
invokestatic org.apache.cassandra.db.transform.Transformation.apply:(Lorg/apache/cassandra/db/rows/UnfilteredRowIterator;Lorg/apache/cassandra/db/transform/Transformation;)Lorg/apache/cassandra/db/rows/UnfilteredRowIterator;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/db/ReadCommand$1MetricRecording;
0 2 1 iter Lorg/apache/cassandra/db/rows/UnfilteredRowIterator;
MethodParameters:
Name Flags
iter
public org.apache.cassandra.db.rows.Row applyToStatic(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=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.apache.cassandra.db.ReadCommand$1MetricRecording.applyToRow:(Lorg/apache/cassandra/db/rows/Row;)Lorg/apache/cassandra/db/rows/Row;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/ReadCommand$1MetricRecording;
0 1 1 row Lorg/apache/cassandra/db/rows/Row;
MethodParameters:
Name Flags
row
public org.apache.cassandra.db.rows.Row applyToRow(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=3, locals=5, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: aload 1
invokeinterface org.apache.cassandra.db.rows.Row.cells:()Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 4
goto 6
StackMap locals: org.apache.cassandra.db.ReadCommand$1MetricRecording org.apache.cassandra.db.rows.Row int top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.db.rows.Cell
astore 3
start local 3 3: aload 3
aload 0
getfield org.apache.cassandra.db.ReadCommand$1MetricRecording.this$0:Lorg/apache/cassandra/db/ReadCommand;
invokevirtual org.apache.cassandra.db.ReadCommand.nowInSec:()I
invokevirtual org.apache.cassandra.db.rows.Cell.isLive:(I)Z
ifne 6
4: aload 0
aload 1
invokeinterface org.apache.cassandra.db.rows.Row.clustering:()Lorg/apache/cassandra/db/Clustering;
invokevirtual org.apache.cassandra.db.ReadCommand$1MetricRecording.countTombstone:(Lorg/apache/cassandra/db/ClusteringPrefix;)V
5: iconst_1
istore 2
end local 3 6: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
7: aload 1
aload 0
getfield org.apache.cassandra.db.ReadCommand$1MetricRecording.this$0:Lorg/apache/cassandra/db/ReadCommand;
invokevirtual org.apache.cassandra.db.ReadCommand.nowInSec:()I
aload 0
getfield org.apache.cassandra.db.ReadCommand$1MetricRecording.enforceStrictLiveness:Z
invokeinterface org.apache.cassandra.db.rows.Row.hasLiveData:(IZ)Z
ifeq 9
8: aload 0
dup
getfield org.apache.cassandra.db.ReadCommand$1MetricRecording.liveRows:I
iconst_1
iadd
putfield org.apache.cassandra.db.ReadCommand$1MetricRecording.liveRows:I
goto 13
9: StackMap locals: org.apache.cassandra.db.ReadCommand$1MetricRecording org.apache.cassandra.db.rows.Row int
StackMap stack:
aload 1
invokeinterface org.apache.cassandra.db.rows.Row.primaryKeyLivenessInfo:()Lorg/apache/cassandra/db/LivenessInfo;
aload 0
getfield org.apache.cassandra.db.ReadCommand$1MetricRecording.this$0:Lorg/apache/cassandra/db/ReadCommand;
invokevirtual org.apache.cassandra.db.ReadCommand.nowInSec:()I
invokevirtual org.apache.cassandra.db.LivenessInfo.isLive:(I)Z
ifne 13
10: aload 1
aload 0
getfield org.apache.cassandra.db.ReadCommand$1MetricRecording.this$0:Lorg/apache/cassandra/db/ReadCommand;
invokevirtual org.apache.cassandra.db.ReadCommand.nowInSec:()I
invokeinterface org.apache.cassandra.db.rows.Row.hasDeletion:(I)Z
ifeq 13
11: iload 2
ifne 13
12: aload 0
aload 1
invokeinterface org.apache.cassandra.db.rows.Row.clustering:()Lorg/apache/cassandra/db/Clustering;
invokevirtual org.apache.cassandra.db.ReadCommand$1MetricRecording.countTombstone:(Lorg/apache/cassandra/db/ClusteringPrefix;)V
13: StackMap locals:
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/apache/cassandra/db/ReadCommand$1MetricRecording;
0 14 1 row Lorg/apache/cassandra/db/rows/Row;
1 14 2 hasTombstones Z
3 6 3 cell Lorg/apache/cassandra/db/rows/Cell;
MethodParameters:
Name Flags
row
public org.apache.cassandra.db.rows.RangeTombstoneMarker applyToMarker(org.apache.cassandra.db.rows.RangeTombstoneMarker);
descriptor: (Lorg/apache/cassandra/db/rows/RangeTombstoneMarker;)Lorg/apache/cassandra/db/rows/RangeTombstoneMarker;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokeinterface org.apache.cassandra.db.rows.RangeTombstoneMarker.clustering:()Lorg/apache/cassandra/db/ClusteringBoundOrBoundary;
invokevirtual org.apache.cassandra.db.ReadCommand$1MetricRecording.countTombstone:(Lorg/apache/cassandra/db/ClusteringPrefix;)V
1: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/db/ReadCommand$1MetricRecording;
0 2 1 marker Lorg/apache/cassandra/db/rows/RangeTombstoneMarker;
MethodParameters:
Name Flags
marker
private void countTombstone(org.apache.cassandra.db.ClusteringPrefix);
descriptor: (Lorg/apache/cassandra/db/ClusteringPrefix;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: aload 0
dup
getfield org.apache.cassandra.db.ReadCommand$1MetricRecording.tombstones:I
iconst_1
iadd
putfield org.apache.cassandra.db.ReadCommand$1MetricRecording.tombstones:I
1: aload 0
getfield org.apache.cassandra.db.ReadCommand$1MetricRecording.tombstones:I
aload 0
getfield org.apache.cassandra.db.ReadCommand$1MetricRecording.failureThreshold:I
if_icmple 5
aload 0
getfield org.apache.cassandra.db.ReadCommand$1MetricRecording.respectTombstoneThresholds:Z
ifeq 5
2: aload 0
getfield org.apache.cassandra.db.ReadCommand$1MetricRecording.this$0:Lorg/apache/cassandra/db/ReadCommand;
invokevirtual org.apache.cassandra.db.ReadCommand.toCQLString:()Ljava/lang/String;
astore 2
start local 2 3: ldc "Scanned over {} tombstones for query {}; query aborted (see tombstone_failure_threshold)"
aload 0
getfield org.apache.cassandra.db.ReadCommand$1MetricRecording.failureThreshold:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aload 2
invokestatic org.apache.cassandra.tracing.Tracing.trace:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
4: new org.apache.cassandra.db.filter.TombstoneOverwhelmingException
dup
aload 0
getfield org.apache.cassandra.db.ReadCommand$1MetricRecording.tombstones:I
aload 2
aload 0
getfield org.apache.cassandra.db.ReadCommand$1MetricRecording.this$0:Lorg/apache/cassandra/db/ReadCommand;
invokevirtual org.apache.cassandra.db.ReadCommand.metadata:()Lorg/apache/cassandra/config/CFMetaData;
aload 0
getfield org.apache.cassandra.db.ReadCommand$1MetricRecording.currentKey:Lorg/apache/cassandra/db/DecoratedKey;
aload 1
invokespecial org.apache.cassandra.db.filter.TombstoneOverwhelmingException.<init>:(ILjava/lang/String;Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/db/DecoratedKey;Lorg/apache/cassandra/db/ClusteringPrefix;)V
athrow
end local 2 5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/db/ReadCommand$1MetricRecording;
0 6 1 clustering Lorg/apache/cassandra/db/ClusteringPrefix;
3 5 2 query Ljava/lang/String;
MethodParameters:
Name Flags
clustering
public void onClose();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.ReadCommand$1MetricRecording.this$0:Lorg/apache/cassandra/db/ReadCommand;
aload 0
getfield org.apache.cassandra.db.ReadCommand$1MetricRecording.val$metric:Lorg/apache/cassandra/metrics/TableMetrics;
invokestatic java.lang.System.nanoTime:()J
aload 0
getfield org.apache.cassandra.db.ReadCommand$1MetricRecording.val$startTimeNanos:J
lsub
invokevirtual org.apache.cassandra.db.ReadCommand.recordLatency:(Lorg/apache/cassandra/metrics/TableMetrics;J)V
1: aload 0
getfield org.apache.cassandra.db.ReadCommand$1MetricRecording.val$metric:Lorg/apache/cassandra/metrics/TableMetrics;
getfield org.apache.cassandra.metrics.TableMetrics.tombstoneScannedHistogram:Lorg/apache/cassandra/metrics/TableMetrics$TableHistogram;
aload 0
getfield org.apache.cassandra.db.ReadCommand$1MetricRecording.tombstones:I
i2l
invokevirtual org.apache.cassandra.metrics.TableMetrics$TableHistogram.update:(J)V
2: aload 0
getfield org.apache.cassandra.db.ReadCommand$1MetricRecording.val$metric:Lorg/apache/cassandra/metrics/TableMetrics;
getfield org.apache.cassandra.metrics.TableMetrics.liveScannedHistogram:Lorg/apache/cassandra/metrics/TableMetrics$TableHistogram;
aload 0
getfield org.apache.cassandra.db.ReadCommand$1MetricRecording.liveRows:I
i2l
invokevirtual org.apache.cassandra.metrics.TableMetrics$TableHistogram.update:(J)V
3: aload 0
getfield org.apache.cassandra.db.ReadCommand$1MetricRecording.tombstones:I
aload 0
getfield org.apache.cassandra.db.ReadCommand$1MetricRecording.warningThreshold:I
if_icmple 4
aload 0
getfield org.apache.cassandra.db.ReadCommand$1MetricRecording.respectTombstoneThresholds:Z
ifeq 4
iconst_1
goto 5
StackMap locals:
StackMap stack:
4: iconst_0
StackMap locals:
StackMap stack: int
5: istore 1
start local 1 6: iload 1
ifeq 12
7: ldc "Read %d live rows and %d tombstone cells for query %1.512s (see tombstone_warn_threshold)"
iconst_3
anewarray java.lang.Object
dup
iconst_0
8: aload 0
getfield org.apache.cassandra.db.ReadCommand$1MetricRecording.liveRows:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 0
getfield org.apache.cassandra.db.ReadCommand$1MetricRecording.tombstones:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
aload 0
getfield org.apache.cassandra.db.ReadCommand$1MetricRecording.this$0:Lorg/apache/cassandra/db/ReadCommand;
invokevirtual org.apache.cassandra.db.ReadCommand.toCQLString:()Ljava/lang/String;
aastore
9: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 2
start local 2 10: getstatic org.apache.cassandra.service.ClientWarn.instance:Lorg/apache/cassandra/service/ClientWarn;
aload 2
invokevirtual org.apache.cassandra.service.ClientWarn.warn:(Ljava/lang/String;)V
11: getstatic org.apache.cassandra.db.ReadCommand.logger:Lorg/slf4j/Logger;
aload 2
invokeinterface org.slf4j.Logger.warn:(Ljava/lang/String;)V
end local 2 12: StackMap locals: int
StackMap stack:
ldc "Read {} live rows and {} tombstone cells{}"
iconst_3
anewarray java.lang.Object
dup
iconst_0
13: aload 0
getfield org.apache.cassandra.db.ReadCommand$1MetricRecording.liveRows:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 0
getfield org.apache.cassandra.db.ReadCommand$1MetricRecording.tombstones:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
14: iload 1
ifeq 15
ldc " (see tombstone_warn_threshold)"
goto 16
StackMap locals: org.apache.cassandra.db.ReadCommand$1MetricRecording int
StackMap stack: java.lang.String java.lang.Object[] java.lang.Object[] int
15: ldc ""
StackMap locals: org.apache.cassandra.db.ReadCommand$1MetricRecording int
StackMap stack: java.lang.String java.lang.Object[] java.lang.Object[] int java.lang.String
16: aastore
17: invokestatic org.apache.cassandra.tracing.Tracing.trace:(Ljava/lang/String;[Ljava/lang/Object;)V
18: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/apache/cassandra/db/ReadCommand$1MetricRecording;
6 19 1 warnTombstones Z
10 12 2 msg Ljava/lang/String;
public org.apache.cassandra.db.rows.BaseRowIterator applyToPartition(org.apache.cassandra.db.rows.BaseRowIterator);
descriptor: (Lorg/apache/cassandra/db/rows/BaseRowIterator;)Lorg/apache/cassandra/db/rows/BaseRowIterator;
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.UnfilteredRowIterator
invokevirtual org.apache.cassandra.db.ReadCommand$1MetricRecording.applyToPartition:(Lorg/apache/cassandra/db/rows/UnfilteredRowIterator;)Lorg/apache/cassandra/db/rows/UnfilteredRowIterator;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Lorg/apache/cassandra/db/transform/Transformation<Lorg/apache/cassandra/db/rows/UnfilteredRowIterator;>;
SourceFile: "ReadCommand.java"
EnclosingMethod: org.apache.cassandra.db.ReadCommand.withMetricsRecording:(Lorg/apache/cassandra/db/partitions/UnfilteredPartitionIterator;Lorg/apache/cassandra/metrics/TableMetrics;J)Lorg/apache/cassandra/db/partitions/UnfilteredPartitionIterator;
NestHost: org.apache.cassandra.db.ReadCommand
InnerClasses:
MetricRecording = org.apache.cassandra.db.ReadCommand$1MetricRecording
public TableHistogram = org.apache.cassandra.metrics.TableMetrics$TableHistogram of org.apache.cassandra.metrics.TableMetrics