public class org.apache.cassandra.metrics.CacheMetrics
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.metrics.CacheMetrics
super_class: java.lang.Object
{
public final com.codahale.metrics.Gauge<java.lang.Long> capacity;
descriptor: Lcom/codahale/metrics/Gauge;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Signature: Lcom/codahale/metrics/Gauge<Ljava/lang/Long;>;
public final com.codahale.metrics.Meter hits;
descriptor: Lcom/codahale/metrics/Meter;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final com.codahale.metrics.Meter requests;
descriptor: Lcom/codahale/metrics/Meter;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final com.codahale.metrics.Gauge<java.lang.Double> hitRate;
descriptor: Lcom/codahale/metrics/Gauge;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Signature: Lcom/codahale/metrics/Gauge<Ljava/lang/Double;>;
public final com.codahale.metrics.Gauge<java.lang.Double> oneMinuteHitRate;
descriptor: Lcom/codahale/metrics/Gauge;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Signature: Lcom/codahale/metrics/Gauge<Ljava/lang/Double;>;
public final com.codahale.metrics.Gauge<java.lang.Double> fiveMinuteHitRate;
descriptor: Lcom/codahale/metrics/Gauge;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Signature: Lcom/codahale/metrics/Gauge<Ljava/lang/Double;>;
public final com.codahale.metrics.Gauge<java.lang.Double> fifteenMinuteHitRate;
descriptor: Lcom/codahale/metrics/Gauge;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Signature: Lcom/codahale/metrics/Gauge<Ljava/lang/Double;>;
public final com.codahale.metrics.Gauge<java.lang.Long> size;
descriptor: Lcom/codahale/metrics/Gauge;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Signature: Lcom/codahale/metrics/Gauge<Ljava/lang/Long;>;
public final com.codahale.metrics.Gauge<java.lang.Integer> entries;
descriptor: Lcom/codahale/metrics/Gauge;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Signature: Lcom/codahale/metrics/Gauge<Ljava/lang/Integer;>;
public void <init>(java.lang.String, org.apache.cassandra.cache.ICache<?, ?>);
descriptor: (Ljava/lang/String;Lorg/apache/cassandra/cache/ICache;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: new org.apache.cassandra.metrics.DefaultNameFactory
dup
ldc "Cache"
aload 1
invokespecial org.apache.cassandra.metrics.DefaultNameFactory.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 3
start local 3 2: aload 0
getstatic org.apache.cassandra.metrics.CassandraMetricsRegistry.Metrics:Lorg/apache/cassandra/metrics/CassandraMetricsRegistry;
aload 3
ldc "Capacity"
invokeinterface org.apache.cassandra.metrics.MetricNameFactory.createMetricName:(Ljava/lang/String;)Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;
new org.apache.cassandra.metrics.CacheMetrics$1
dup
aload 0
aload 2
invokespecial org.apache.cassandra.metrics.CacheMetrics$1.<init>:(Lorg/apache/cassandra/metrics/CacheMetrics;Lorg/apache/cassandra/cache/ICache;)V
invokevirtual org.apache.cassandra.metrics.CassandraMetricsRegistry.register:(Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;Lcom/codahale/metrics/Metric;)Lcom/codahale/metrics/Metric;
checkcast com.codahale.metrics.Gauge
putfield org.apache.cassandra.metrics.CacheMetrics.capacity:Lcom/codahale/metrics/Gauge;
3: aload 0
getstatic org.apache.cassandra.metrics.CassandraMetricsRegistry.Metrics:Lorg/apache/cassandra/metrics/CassandraMetricsRegistry;
aload 3
ldc "Hits"
invokeinterface org.apache.cassandra.metrics.MetricNameFactory.createMetricName:(Ljava/lang/String;)Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;
invokevirtual org.apache.cassandra.metrics.CassandraMetricsRegistry.meter:(Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;)Lcom/codahale/metrics/Meter;
putfield org.apache.cassandra.metrics.CacheMetrics.hits:Lcom/codahale/metrics/Meter;
4: aload 0
getstatic org.apache.cassandra.metrics.CassandraMetricsRegistry.Metrics:Lorg/apache/cassandra/metrics/CassandraMetricsRegistry;
aload 3
ldc "Requests"
invokeinterface org.apache.cassandra.metrics.MetricNameFactory.createMetricName:(Ljava/lang/String;)Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;
invokevirtual org.apache.cassandra.metrics.CassandraMetricsRegistry.meter:(Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;)Lcom/codahale/metrics/Meter;
putfield org.apache.cassandra.metrics.CacheMetrics.requests:Lcom/codahale/metrics/Meter;
5: aload 0
getstatic org.apache.cassandra.metrics.CassandraMetricsRegistry.Metrics:Lorg/apache/cassandra/metrics/CassandraMetricsRegistry;
aload 3
ldc "HitRate"
invokeinterface org.apache.cassandra.metrics.MetricNameFactory.createMetricName:(Ljava/lang/String;)Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;
new org.apache.cassandra.metrics.CacheMetrics$2
dup
aload 0
invokespecial org.apache.cassandra.metrics.CacheMetrics$2.<init>:(Lorg/apache/cassandra/metrics/CacheMetrics;)V
invokevirtual org.apache.cassandra.metrics.CassandraMetricsRegistry.register:(Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;Lcom/codahale/metrics/Metric;)Lcom/codahale/metrics/Metric;
checkcast com.codahale.metrics.Gauge
putfield org.apache.cassandra.metrics.CacheMetrics.hitRate:Lcom/codahale/metrics/Gauge;
6: aload 0
getstatic org.apache.cassandra.metrics.CassandraMetricsRegistry.Metrics:Lorg/apache/cassandra/metrics/CassandraMetricsRegistry;
aload 3
ldc "OneMinuteHitRate"
invokeinterface org.apache.cassandra.metrics.MetricNameFactory.createMetricName:(Ljava/lang/String;)Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;
new org.apache.cassandra.metrics.CacheMetrics$3
dup
aload 0
invokespecial org.apache.cassandra.metrics.CacheMetrics$3.<init>:(Lorg/apache/cassandra/metrics/CacheMetrics;)V
invokevirtual org.apache.cassandra.metrics.CassandraMetricsRegistry.register:(Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;Lcom/codahale/metrics/Metric;)Lcom/codahale/metrics/Metric;
checkcast com.codahale.metrics.Gauge
putfield org.apache.cassandra.metrics.CacheMetrics.oneMinuteHitRate:Lcom/codahale/metrics/Gauge;
7: aload 0
getstatic org.apache.cassandra.metrics.CassandraMetricsRegistry.Metrics:Lorg/apache/cassandra/metrics/CassandraMetricsRegistry;
aload 3
ldc "FiveMinuteHitRate"
invokeinterface org.apache.cassandra.metrics.MetricNameFactory.createMetricName:(Ljava/lang/String;)Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;
new org.apache.cassandra.metrics.CacheMetrics$4
dup
aload 0
invokespecial org.apache.cassandra.metrics.CacheMetrics$4.<init>:(Lorg/apache/cassandra/metrics/CacheMetrics;)V
invokevirtual org.apache.cassandra.metrics.CassandraMetricsRegistry.register:(Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;Lcom/codahale/metrics/Metric;)Lcom/codahale/metrics/Metric;
checkcast com.codahale.metrics.Gauge
putfield org.apache.cassandra.metrics.CacheMetrics.fiveMinuteHitRate:Lcom/codahale/metrics/Gauge;
8: aload 0
getstatic org.apache.cassandra.metrics.CassandraMetricsRegistry.Metrics:Lorg/apache/cassandra/metrics/CassandraMetricsRegistry;
aload 3
ldc "FifteenMinuteHitRate"
invokeinterface org.apache.cassandra.metrics.MetricNameFactory.createMetricName:(Ljava/lang/String;)Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;
new org.apache.cassandra.metrics.CacheMetrics$5
dup
aload 0
invokespecial org.apache.cassandra.metrics.CacheMetrics$5.<init>:(Lorg/apache/cassandra/metrics/CacheMetrics;)V
invokevirtual org.apache.cassandra.metrics.CassandraMetricsRegistry.register:(Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;Lcom/codahale/metrics/Metric;)Lcom/codahale/metrics/Metric;
checkcast com.codahale.metrics.Gauge
putfield org.apache.cassandra.metrics.CacheMetrics.fifteenMinuteHitRate:Lcom/codahale/metrics/Gauge;
9: aload 0
getstatic org.apache.cassandra.metrics.CassandraMetricsRegistry.Metrics:Lorg/apache/cassandra/metrics/CassandraMetricsRegistry;
aload 3
ldc "Size"
invokeinterface org.apache.cassandra.metrics.MetricNameFactory.createMetricName:(Ljava/lang/String;)Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;
new org.apache.cassandra.metrics.CacheMetrics$6
dup
aload 0
aload 2
invokespecial org.apache.cassandra.metrics.CacheMetrics$6.<init>:(Lorg/apache/cassandra/metrics/CacheMetrics;Lorg/apache/cassandra/cache/ICache;)V
invokevirtual org.apache.cassandra.metrics.CassandraMetricsRegistry.register:(Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;Lcom/codahale/metrics/Metric;)Lcom/codahale/metrics/Metric;
checkcast com.codahale.metrics.Gauge
putfield org.apache.cassandra.metrics.CacheMetrics.size:Lcom/codahale/metrics/Gauge;
10: aload 0
getstatic org.apache.cassandra.metrics.CassandraMetricsRegistry.Metrics:Lorg/apache/cassandra/metrics/CassandraMetricsRegistry;
aload 3
ldc "Entries"
invokeinterface org.apache.cassandra.metrics.MetricNameFactory.createMetricName:(Ljava/lang/String;)Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;
new org.apache.cassandra.metrics.CacheMetrics$7
dup
aload 0
aload 2
invokespecial org.apache.cassandra.metrics.CacheMetrics$7.<init>:(Lorg/apache/cassandra/metrics/CacheMetrics;Lorg/apache/cassandra/cache/ICache;)V
invokevirtual org.apache.cassandra.metrics.CassandraMetricsRegistry.register:(Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;Lcom/codahale/metrics/Metric;)Lcom/codahale/metrics/Metric;
checkcast com.codahale.metrics.Gauge
putfield org.apache.cassandra.metrics.CacheMetrics.entries:Lcom/codahale/metrics/Gauge;
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/metrics/CacheMetrics;
0 12 1 type Ljava/lang/String;
0 12 2 cache Lorg/apache/cassandra/cache/ICache<**>;
2 12 3 factory Lorg/apache/cassandra/metrics/MetricNameFactory;
Signature: (Ljava/lang/String;Lorg/apache/cassandra/cache/ICache<**>;)V
MethodParameters:
Name Flags
type
cache final
}
SourceFile: "CacheMetrics.java"
NestMembers:
org.apache.cassandra.metrics.CacheMetrics$1 org.apache.cassandra.metrics.CacheMetrics$2 org.apache.cassandra.metrics.CacheMetrics$3 org.apache.cassandra.metrics.CacheMetrics$4 org.apache.cassandra.metrics.CacheMetrics$5 org.apache.cassandra.metrics.CacheMetrics$6 org.apache.cassandra.metrics.CacheMetrics$7
InnerClasses:
org.apache.cassandra.metrics.CacheMetrics$1
org.apache.cassandra.metrics.CacheMetrics$2
org.apache.cassandra.metrics.CacheMetrics$3
org.apache.cassandra.metrics.CacheMetrics$4
org.apache.cassandra.metrics.CacheMetrics$5
org.apache.cassandra.metrics.CacheMetrics$6
org.apache.cassandra.metrics.CacheMetrics$7
public MetricName = org.apache.cassandra.metrics.CassandraMetricsRegistry$MetricName of org.apache.cassandra.metrics.CassandraMetricsRegistry