public class org.apache.cassandra.metrics.StreamingMetrics
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.metrics.StreamingMetrics
super_class: java.lang.Object
{
public static final java.lang.String TYPE_NAME;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "Streaming"
private static final java.util.concurrent.ConcurrentMap<java.net.InetAddress, org.apache.cassandra.metrics.StreamingMetrics> instances;
descriptor: Ljava/util/concurrent/ConcurrentMap;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/concurrent/ConcurrentMap<Ljava/net/InetAddress;Lorg/apache/cassandra/metrics/StreamingMetrics;>;
public static final com.codahale.metrics.Counter activeStreamsOutbound;
descriptor: Lcom/codahale/metrics/Counter;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final com.codahale.metrics.Counter totalIncomingBytes;
descriptor: Lcom/codahale/metrics/Counter;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final com.codahale.metrics.Counter totalOutgoingBytes;
descriptor: Lcom/codahale/metrics/Counter;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public final com.codahale.metrics.Counter incomingBytes;
descriptor: Lcom/codahale/metrics/Counter;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final com.codahale.metrics.Counter outgoingBytes;
descriptor: Lcom/codahale/metrics/Counter;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: new org.cliffc.high_scale_lib.NonBlockingHashMap
dup
invokespecial org.cliffc.high_scale_lib.NonBlockingHashMap.<init>:()V
putstatic org.apache.cassandra.metrics.StreamingMetrics.instances:Ljava/util/concurrent/ConcurrentMap;
1: getstatic org.apache.cassandra.metrics.CassandraMetricsRegistry.Metrics:Lorg/apache/cassandra/metrics/CassandraMetricsRegistry;
ldc "Streaming"
ldc "ActiveOutboundStreams"
aconst_null
invokestatic org.apache.cassandra.metrics.DefaultNameFactory.createMetricName:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;
invokevirtual org.apache.cassandra.metrics.CassandraMetricsRegistry.counter:(Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;)Lcom/codahale/metrics/Counter;
putstatic org.apache.cassandra.metrics.StreamingMetrics.activeStreamsOutbound:Lcom/codahale/metrics/Counter;
2: getstatic org.apache.cassandra.metrics.CassandraMetricsRegistry.Metrics:Lorg/apache/cassandra/metrics/CassandraMetricsRegistry;
ldc "Streaming"
ldc "TotalIncomingBytes"
aconst_null
invokestatic org.apache.cassandra.metrics.DefaultNameFactory.createMetricName:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;
invokevirtual org.apache.cassandra.metrics.CassandraMetricsRegistry.counter:(Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;)Lcom/codahale/metrics/Counter;
putstatic org.apache.cassandra.metrics.StreamingMetrics.totalIncomingBytes:Lcom/codahale/metrics/Counter;
3: getstatic org.apache.cassandra.metrics.CassandraMetricsRegistry.Metrics:Lorg/apache/cassandra/metrics/CassandraMetricsRegistry;
ldc "Streaming"
ldc "TotalOutgoingBytes"
aconst_null
invokestatic org.apache.cassandra.metrics.DefaultNameFactory.createMetricName:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;
invokevirtual org.apache.cassandra.metrics.CassandraMetricsRegistry.counter:(Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;)Lcom/codahale/metrics/Counter;
putstatic org.apache.cassandra.metrics.StreamingMetrics.totalOutgoingBytes:Lcom/codahale/metrics/Counter;
return
LocalVariableTable:
Start End Slot Name Signature
public static org.apache.cassandra.metrics.StreamingMetrics get(java.net.InetAddress);
descriptor: (Ljava/net/InetAddress;)Lorg/apache/cassandra/metrics/StreamingMetrics;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: getstatic org.apache.cassandra.metrics.StreamingMetrics.instances:Ljava/util/concurrent/ConcurrentMap;
aload 0
invokeinterface java.util.concurrent.ConcurrentMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.cassandra.metrics.StreamingMetrics
astore 1
start local 1 1: aload 1
ifnonnull 4
2: new org.apache.cassandra.metrics.StreamingMetrics
dup
aload 0
invokespecial org.apache.cassandra.metrics.StreamingMetrics.<init>:(Ljava/net/InetAddress;)V
astore 1
3: getstatic org.apache.cassandra.metrics.StreamingMetrics.instances:Ljava/util/concurrent/ConcurrentMap;
aload 0
aload 1
invokeinterface java.util.concurrent.ConcurrentMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: StackMap locals: org.apache.cassandra.metrics.StreamingMetrics
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 ip Ljava/net/InetAddress;
1 5 1 metrics Lorg/apache/cassandra/metrics/StreamingMetrics;
MethodParameters:
Name Flags
ip
public void <init>(java.net.InetAddress);
descriptor: (Ljava/net/InetAddress;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: new org.apache.cassandra.metrics.DefaultNameFactory
dup
ldc "Streaming"
aload 1
invokevirtual java.net.InetAddress.getHostAddress:()Ljava/lang/String;
bipush 58
bipush 46
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
invokespecial org.apache.cassandra.metrics.DefaultNameFactory.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 2
start local 2 2: aload 0
getstatic org.apache.cassandra.metrics.CassandraMetricsRegistry.Metrics:Lorg/apache/cassandra/metrics/CassandraMetricsRegistry;
aload 2
ldc "IncomingBytes"
invokeinterface org.apache.cassandra.metrics.MetricNameFactory.createMetricName:(Ljava/lang/String;)Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;
invokevirtual org.apache.cassandra.metrics.CassandraMetricsRegistry.counter:(Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;)Lcom/codahale/metrics/Counter;
putfield org.apache.cassandra.metrics.StreamingMetrics.incomingBytes:Lcom/codahale/metrics/Counter;
3: aload 0
getstatic org.apache.cassandra.metrics.CassandraMetricsRegistry.Metrics:Lorg/apache/cassandra/metrics/CassandraMetricsRegistry;
aload 2
ldc "OutgoingBytes"
invokeinterface org.apache.cassandra.metrics.MetricNameFactory.createMetricName:(Ljava/lang/String;)Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;
invokevirtual org.apache.cassandra.metrics.CassandraMetricsRegistry.counter:(Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;)Lcom/codahale/metrics/Counter;
putfield org.apache.cassandra.metrics.StreamingMetrics.outgoingBytes:Lcom/codahale/metrics/Counter;
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/metrics/StreamingMetrics;
0 5 1 peer Ljava/net/InetAddress;
2 5 2 factory Lorg/apache/cassandra/metrics/MetricNameFactory;
MethodParameters:
Name Flags
peer final
}
SourceFile: "StreamingMetrics.java"
InnerClasses:
public MetricName = org.apache.cassandra.metrics.CassandraMetricsRegistry$MetricName of org.apache.cassandra.metrics.CassandraMetricsRegistry