public class org.apache.cassandra.metrics.ClientMetrics
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.apache.cassandra.metrics.ClientMetrics
  super_class: java.lang.Object
{
  private static final org.apache.cassandra.metrics.MetricNameFactory factory;
    descriptor: Lorg/apache/cassandra/metrics/MetricNameFactory;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  public static final org.apache.cassandra.metrics.ClientMetrics instance;
    descriptor: Lorg/apache/cassandra/metrics/ClientMetrics;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL

  private volatile boolean initialized;
    descriptor: Z
    flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE

  private java.util.Collection<org.apache.cassandra.transport.Server> servers;
    descriptor: Ljava/util/Collection;
    flags: (0x0002) ACC_PRIVATE
    Signature: Ljava/util/Collection<Lorg/apache/cassandra/transport/Server;>;

  private java.util.concurrent.atomic.AtomicInteger pausedConnections;
    descriptor: Ljava/util/concurrent/atomic/AtomicInteger;
    flags: (0x0002) ACC_PRIVATE

  private com.codahale.metrics.Gauge<java.lang.Integer> pausedConnectionsGauge;
    descriptor: Lcom/codahale/metrics/Gauge;
    flags: (0x0002) ACC_PRIVATE
    Signature: Lcom/codahale/metrics/Gauge<Ljava/lang/Integer;>;

  private com.codahale.metrics.Meter requestDiscarded;
    descriptor: Lcom/codahale/metrics/Meter;
    flags: (0x0002) ACC_PRIVATE

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=3, locals=0, args_size=0
         0: .line 35
            new org.apache.cassandra.metrics.DefaultNameFactory
            dup
            ldc "Client"
            invokespecial org.apache.cassandra.metrics.DefaultNameFactory.<init>:(Ljava/lang/String;)V
            putstatic org.apache.cassandra.metrics.ClientMetrics.factory:Lorg/apache/cassandra/metrics/MetricNameFactory;
         1: .line 36
            new org.apache.cassandra.metrics.ClientMetrics
            dup
            invokespecial org.apache.cassandra.metrics.ClientMetrics.<init>:()V
            putstatic org.apache.cassandra.metrics.ClientMetrics.instance:Lorg/apache/cassandra/metrics/ClientMetrics;
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private void <init>();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.apache.cassandra.metrics.ClientMetrics this
         0: .line 46
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 38
            aload 0 /* this */
            iconst_0
            putfield org.apache.cassandra.metrics.ClientMetrics.initialized:Z
         2: .line 40
            aload 0 /* this */
            invokestatic java.util.Collections.emptyList:()Ljava/util/List;
            putfield org.apache.cassandra.metrics.ClientMetrics.servers:Ljava/util/Collection;
         3: .line 48
            return
        end local 0 // org.apache.cassandra.metrics.ClientMetrics this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lorg/apache/cassandra/metrics/ClientMetrics;

  public void pauseConnection();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.apache.cassandra.metrics.ClientMetrics this
         0: .line 50
            aload 0 /* this */
            getfield org.apache.cassandra.metrics.ClientMetrics.pausedConnections:Ljava/util/concurrent/atomic/AtomicInteger;
            invokevirtual java.util.concurrent.atomic.AtomicInteger.incrementAndGet:()I
            pop
            return
        end local 0 // org.apache.cassandra.metrics.ClientMetrics this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/cassandra/metrics/ClientMetrics;

  public void unpauseConnection();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.apache.cassandra.metrics.ClientMetrics this
         0: .line 51
            aload 0 /* this */
            getfield org.apache.cassandra.metrics.ClientMetrics.pausedConnections:Ljava/util/concurrent/atomic/AtomicInteger;
            invokevirtual java.util.concurrent.atomic.AtomicInteger.decrementAndGet:()I
            pop
            return
        end local 0 // org.apache.cassandra.metrics.ClientMetrics this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/cassandra/metrics/ClientMetrics;

  public void markRequestDiscarded();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.apache.cassandra.metrics.ClientMetrics this
         0: .line 52
            aload 0 /* this */
            getfield org.apache.cassandra.metrics.ClientMetrics.requestDiscarded:Lcom/codahale/metrics/Meter;
            invokevirtual com.codahale.metrics.Meter.mark:()V
            return
        end local 0 // org.apache.cassandra.metrics.ClientMetrics this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/cassandra/metrics/ClientMetrics;

  public synchronized void init(java.util.Collection<org.apache.cassandra.transport.Server>);
    descriptor: (Ljava/util/Collection;)V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=5, locals=2, args_size=2
        start local 0 // org.apache.cassandra.metrics.ClientMetrics this
        start local 1 // java.util.Collection servers
         0: .line 56
            aload 0 /* this */
            getfield org.apache.cassandra.metrics.ClientMetrics.initialized:Z
            ifeq 2
         1: .line 57
            return
         2: .line 59
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* servers */
            putfield org.apache.cassandra.metrics.ClientMetrics.servers:Ljava/util/Collection;
         3: .line 61
            aload 0 /* this */
            ldc "connectedNativeClients"
            aload 0 /* this */
            invokedynamic getValue(Lorg/apache/cassandra/metrics/ClientMetrics;)Lcom/codahale/metrics/Gauge;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  ()Ljava/lang/Object;
                  org/apache/cassandra/metrics/ClientMetrics.countConnectedClients()I (7)
                  ()Ljava/lang/Integer;
            invokevirtual org.apache.cassandra.metrics.ClientMetrics.registerGauge:(Ljava/lang/String;Lcom/codahale/metrics/Gauge;)Lcom/codahale/metrics/Gauge;
            pop
         4: .line 63
            aload 0 /* this */
            new java.util.concurrent.atomic.AtomicInteger
            dup
            invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:()V
            putfield org.apache.cassandra.metrics.ClientMetrics.pausedConnections:Ljava/util/concurrent/atomic/AtomicInteger;
         5: .line 64
            aload 0 /* this */
            aload 0 /* this */
            ldc "PausedConnections"
            aload 0 /* this */
            getfield org.apache.cassandra.metrics.ClientMetrics.pausedConnections:Ljava/util/concurrent/atomic/AtomicInteger;
            dup
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            pop
            invokedynamic getValue(Ljava/util/concurrent/atomic/AtomicInteger;)Lcom/codahale/metrics/Gauge;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  ()Ljava/lang/Object;
                  java/util/concurrent/atomic/AtomicInteger.get()I (5)
                  ()Ljava/lang/Integer;
            invokevirtual org.apache.cassandra.metrics.ClientMetrics.registerGauge:(Ljava/lang/String;Lcom/codahale/metrics/Gauge;)Lcom/codahale/metrics/Gauge;
            putfield org.apache.cassandra.metrics.ClientMetrics.pausedConnectionsGauge:Lcom/codahale/metrics/Gauge;
         6: .line 65
            aload 0 /* this */
            aload 0 /* this */
            ldc "RequestDiscarded"
            invokevirtual org.apache.cassandra.metrics.ClientMetrics.registerMeter:(Ljava/lang/String;)Lcom/codahale/metrics/Meter;
            putfield org.apache.cassandra.metrics.ClientMetrics.requestDiscarded:Lcom/codahale/metrics/Meter;
         7: .line 67
            aload 0 /* this */
            iconst_1
            putfield org.apache.cassandra.metrics.ClientMetrics.initialized:Z
         8: .line 68
            return
        end local 1 // java.util.Collection servers
        end local 0 // org.apache.cassandra.metrics.ClientMetrics this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    9     0     this  Lorg/apache/cassandra/metrics/ClientMetrics;
            0    9     1  servers  Ljava/util/Collection<Lorg/apache/cassandra/transport/Server;>;
    Signature: (Ljava/util/Collection<Lorg/apache/cassandra/transport/Server;>;)V
    MethodParameters:
         Name  Flags
      servers  

  public void addCounter(java.lang.String, java.util.concurrent.Callable<java.lang.Integer>);
    descriptor: (Ljava/lang/String;Ljava/util/concurrent/Callable;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=3, args_size=3
        start local 0 // org.apache.cassandra.metrics.ClientMetrics this
        start local 1 // java.lang.String name
        start local 2 // java.util.concurrent.Callable provider
         0: .line 72
            getstatic org.apache.cassandra.metrics.CassandraMetricsRegistry.Metrics:Lorg/apache/cassandra/metrics/CassandraMetricsRegistry;
            getstatic org.apache.cassandra.metrics.ClientMetrics.factory:Lorg/apache/cassandra/metrics/MetricNameFactory;
            aload 1 /* name */
            invokeinterface org.apache.cassandra.metrics.MetricNameFactory.createMetricName:(Ljava/lang/String;)Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;
            aload 2 /* provider */
            invokedynamic getValue(Ljava/util/concurrent/Callable;)Lcom/codahale/metrics/Gauge;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  ()Ljava/lang/Object;
                  org/apache/cassandra/metrics/ClientMetrics.lambda$2(Ljava/util/concurrent/Callable;)Ljava/lang/Integer; (6)
                  ()Ljava/lang/Integer;
            invokevirtual org.apache.cassandra.metrics.CassandraMetricsRegistry.register:(Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;Lcom/codahale/metrics/Metric;)Lcom/codahale/metrics/Metric;
            pop
         1: .line 81
            return
        end local 2 // java.util.concurrent.Callable provider
        end local 1 // java.lang.String name
        end local 0 // org.apache.cassandra.metrics.ClientMetrics this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    2     0      this  Lorg/apache/cassandra/metrics/ClientMetrics;
            0    2     1      name  Ljava/lang/String;
            0    2     2  provider  Ljava/util/concurrent/Callable<Ljava/lang/Integer;>;
    Signature: (Ljava/lang/String;Ljava/util/concurrent/Callable<Ljava/lang/Integer;>;)V
    MethodParameters:
          Name  Flags
      name      
      provider  final

  private int countConnectedClients();
    descriptor: ()I
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=4, args_size=1
        start local 0 // org.apache.cassandra.metrics.ClientMetrics this
         0: .line 85
            iconst_0
            istore 1 /* count */
        start local 1 // int count
         1: .line 87
            aload 0 /* this */
            getfield org.apache.cassandra.metrics.ClientMetrics.servers:Ljava/util/Collection;
            invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
            astore 3
            goto 4
      StackMap locals: org.apache.cassandra.metrics.ClientMetrics int top java.util.Iterator
      StackMap stack:
         2: aload 3
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast org.apache.cassandra.transport.Server
            astore 2 /* server */
        start local 2 // org.apache.cassandra.transport.Server server
         3: .line 88
            iload 1 /* count */
            aload 2 /* server */
            invokevirtual org.apache.cassandra.transport.Server.getConnectedClients:()I
            iadd
            istore 1 /* count */
        end local 2 // org.apache.cassandra.transport.Server server
         4: .line 87
      StackMap locals:
      StackMap stack:
            aload 3
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 2
         5: .line 90
            iload 1 /* count */
            ireturn
        end local 1 // int count
        end local 0 // org.apache.cassandra.metrics.ClientMetrics this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    6     0    this  Lorg/apache/cassandra/metrics/ClientMetrics;
            1    6     1   count  I
            3    4     2  server  Lorg/apache/cassandra/transport/Server;

  private <T> com.codahale.metrics.Gauge<T> registerGauge(java.lang.String, com.codahale.metrics.Gauge<T>);
    descriptor: (Ljava/lang/String;Lcom/codahale/metrics/Gauge;)Lcom/codahale/metrics/Gauge;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=3, args_size=3
        start local 0 // org.apache.cassandra.metrics.ClientMetrics this
        start local 1 // java.lang.String name
        start local 2 // com.codahale.metrics.Gauge gauge
         0: .line 95
            getstatic org.apache.cassandra.metrics.CassandraMetricsRegistry.Metrics:Lorg/apache/cassandra/metrics/CassandraMetricsRegistry;
            getstatic org.apache.cassandra.metrics.ClientMetrics.factory:Lorg/apache/cassandra/metrics/MetricNameFactory;
            aload 1 /* name */
            invokeinterface org.apache.cassandra.metrics.MetricNameFactory.createMetricName:(Ljava/lang/String;)Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;
            aload 2 /* gauge */
            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
            areturn
        end local 2 // com.codahale.metrics.Gauge gauge
        end local 1 // java.lang.String name
        end local 0 // org.apache.cassandra.metrics.ClientMetrics this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    1     0   this  Lorg/apache/cassandra/metrics/ClientMetrics;
            0    1     1   name  Ljava/lang/String;
            0    1     2  gauge  Lcom/codahale/metrics/Gauge<TT;>;
    Signature: <T:Ljava/lang/Object;>(Ljava/lang/String;Lcom/codahale/metrics/Gauge<TT;>;)Lcom/codahale/metrics/Gauge<TT;>;
    MethodParameters:
       Name  Flags
      name   
      gauge  

  public com.codahale.metrics.Meter registerMeter(java.lang.String);
    descriptor: (Ljava/lang/String;)Lcom/codahale/metrics/Meter;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // org.apache.cassandra.metrics.ClientMetrics this
        start local 1 // java.lang.String name
         0: .line 100
            getstatic org.apache.cassandra.metrics.CassandraMetricsRegistry.Metrics:Lorg/apache/cassandra/metrics/CassandraMetricsRegistry;
            getstatic org.apache.cassandra.metrics.ClientMetrics.factory:Lorg/apache/cassandra/metrics/MetricNameFactory;
            aload 1 /* name */
            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;
            areturn
        end local 1 // java.lang.String name
        end local 0 // org.apache.cassandra.metrics.ClientMetrics this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/cassandra/metrics/ClientMetrics;
            0    1     1  name  Ljava/lang/String;
    MethodParameters:
      Name  Flags
      name  

  private static java.lang.Integer lambda$2(java.util.concurrent.Callable);
    descriptor: (Ljava/util/concurrent/Callable;)Ljava/lang/Integer;
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=3, locals=2, args_size=1
         0: .line 75
            aload 0
            invokeinterface java.util.concurrent.Callable.call:()Ljava/lang/Object;
            checkcast java.lang.Integer
         1: areturn
         2: .line 76
      StackMap locals:
      StackMap stack: java.lang.Exception
            astore 1 /* e */
        start local 1 // java.lang.Exception e
         3: .line 78
            new java.lang.RuntimeException
            dup
            aload 1 /* e */
            invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
            athrow
        end local 1 // java.lang.Exception e
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            3    4     1     e  Ljava/lang/Exception;
      Exception table:
        from    to  target  type
           0     1       2  Class java.lang.Exception
}
SourceFile: "ClientMetrics.java"
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  public MetricName = org.apache.cassandra.metrics.CassandraMetricsRegistry$MetricName of org.apache.cassandra.metrics.CassandraMetricsRegistry