public class com.codahale.metrics.SharedMetricRegistries
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: com.codahale.metrics.SharedMetricRegistries
  super_class: java.lang.Object
{
  private static final java.util.concurrent.ConcurrentMap<java.lang.String, com.codahale.metrics.MetricRegistry> REGISTRIES;
    descriptor: Ljava/util/concurrent/ConcurrentMap;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    Signature: Ljava/util/concurrent/ConcurrentMap<Ljava/lang/String;Lcom/codahale/metrics/MetricRegistry;>;

  private static java.util.concurrent.atomic.AtomicReference<java.lang.String> defaultRegistryName;
    descriptor: Ljava/util/concurrent/atomic/AtomicReference;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Signature: Ljava/util/concurrent/atomic/AtomicReference<Ljava/lang/String;>;

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=0, args_size=0
         0: .line 13
            new java.util.concurrent.ConcurrentHashMap
            dup
            invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
         1: .line 12
            putstatic com.codahale.metrics.SharedMetricRegistries.REGISTRIES:Ljava/util/concurrent/ConcurrentMap;
         2: .line 15
            new java.util.concurrent.atomic.AtomicReference
            dup
            invokespecial java.util.concurrent.atomic.AtomicReference.<init>:()V
            putstatic com.codahale.metrics.SharedMetricRegistries.defaultRegistryName:Ljava/util/concurrent/atomic/AtomicReference;
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  static void setDefaultRegistryName(java.util.concurrent.atomic.AtomicReference<java.lang.String>);
    descriptor: (Ljava/util/concurrent/atomic/AtomicReference;)V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // java.util.concurrent.atomic.AtomicReference defaultRegistryName
         0: .line 19
            aload 0 /* defaultRegistryName */
            putstatic com.codahale.metrics.SharedMetricRegistries.defaultRegistryName:Ljava/util/concurrent/atomic/AtomicReference;
         1: .line 20
            return
        end local 0 // java.util.concurrent.atomic.AtomicReference defaultRegistryName
      LocalVariableTable:
        Start  End  Slot                 Name  Signature
            0    2     0  defaultRegistryName  Ljava/util/concurrent/atomic/AtomicReference<Ljava/lang/String;>;
    Signature: (Ljava/util/concurrent/atomic/AtomicReference<Ljava/lang/String;>;)V
    MethodParameters:
                     Name  Flags
      defaultRegistryName  

  private void <init>();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.codahale.metrics.SharedMetricRegistries this
         0: .line 22
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // com.codahale.metrics.SharedMetricRegistries this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/codahale/metrics/SharedMetricRegistries;

  public static void clear();
    descriptor: ()V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 25
            getstatic com.codahale.metrics.SharedMetricRegistries.REGISTRIES:Ljava/util/concurrent/ConcurrentMap;
            invokeinterface java.util.concurrent.ConcurrentMap.clear:()V
         1: .line 26
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public static java.util.Set<java.lang.String> names();
    descriptor: ()Ljava/util/Set;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 29
            getstatic com.codahale.metrics.SharedMetricRegistries.REGISTRIES:Ljava/util/concurrent/ConcurrentMap;
            invokeinterface java.util.concurrent.ConcurrentMap.keySet:()Ljava/util/Set;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature
    Signature: ()Ljava/util/Set<Ljava/lang/String;>;

  public static void remove(java.lang.String);
    descriptor: (Ljava/lang/String;)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // java.lang.String key
         0: .line 33
            getstatic com.codahale.metrics.SharedMetricRegistries.REGISTRIES:Ljava/util/concurrent/ConcurrentMap;
            aload 0 /* key */
            invokeinterface java.util.concurrent.ConcurrentMap.remove:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
         1: .line 34
            return
        end local 0 // java.lang.String key
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0   key  Ljava/lang/String;
    MethodParameters:
      Name  Flags
      key   

  public static com.codahale.metrics.MetricRegistry add(java.lang.String, com.codahale.metrics.MetricRegistry);
    descriptor: (Ljava/lang/String;Lcom/codahale/metrics/MetricRegistry;)Lcom/codahale/metrics/MetricRegistry;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // java.lang.String name
        start local 1 // com.codahale.metrics.MetricRegistry registry
         0: .line 37
            getstatic com.codahale.metrics.SharedMetricRegistries.REGISTRIES:Ljava/util/concurrent/ConcurrentMap;
            aload 0 /* name */
            aload 1 /* registry */
            invokeinterface java.util.concurrent.ConcurrentMap.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            checkcast com.codahale.metrics.MetricRegistry
            areturn
        end local 1 // com.codahale.metrics.MetricRegistry registry
        end local 0 // java.lang.String name
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    1     0      name  Ljava/lang/String;
            0    1     1  registry  Lcom/codahale/metrics/MetricRegistry;
    MethodParameters:
          Name  Flags
      name      
      registry  

  public static com.codahale.metrics.MetricRegistry getOrCreate(java.lang.String);
    descriptor: (Ljava/lang/String;)Lcom/codahale/metrics/MetricRegistry;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=4, args_size=1
        start local 0 // java.lang.String name
         0: .line 41
            getstatic com.codahale.metrics.SharedMetricRegistries.REGISTRIES:Ljava/util/concurrent/ConcurrentMap;
            aload 0 /* name */
            invokeinterface java.util.concurrent.ConcurrentMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast com.codahale.metrics.MetricRegistry
            astore 1 /* existing */
        start local 1 // com.codahale.metrics.MetricRegistry existing
         1: .line 42
            aload 1 /* existing */
            ifnonnull 7
         2: .line 43
            new com.codahale.metrics.MetricRegistry
            dup
            invokespecial com.codahale.metrics.MetricRegistry.<init>:()V
            astore 2 /* created */
        start local 2 // com.codahale.metrics.MetricRegistry created
         3: .line 44
            aload 0 /* name */
            aload 2 /* created */
            invokestatic com.codahale.metrics.SharedMetricRegistries.add:(Ljava/lang/String;Lcom/codahale/metrics/MetricRegistry;)Lcom/codahale/metrics/MetricRegistry;
            astore 3 /* raced */
        start local 3 // com.codahale.metrics.MetricRegistry raced
         4: .line 45
            aload 3 /* raced */
            ifnonnull 6
         5: .line 46
            aload 2 /* created */
            areturn
         6: .line 48
      StackMap locals: com.codahale.metrics.MetricRegistry com.codahale.metrics.MetricRegistry com.codahale.metrics.MetricRegistry
      StackMap stack:
            aload 3 /* raced */
            areturn
        end local 3 // com.codahale.metrics.MetricRegistry raced
        end local 2 // com.codahale.metrics.MetricRegistry created
         7: .line 50
      StackMap locals:
      StackMap stack:
            aload 1 /* existing */
            areturn
        end local 1 // com.codahale.metrics.MetricRegistry existing
        end local 0 // java.lang.String name
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    8     0      name  Ljava/lang/String;
            1    8     1  existing  Lcom/codahale/metrics/MetricRegistry;
            3    7     2   created  Lcom/codahale/metrics/MetricRegistry;
            4    7     3     raced  Lcom/codahale/metrics/MetricRegistry;
    MethodParameters:
      Name  Flags
      name  

  public static synchronized com.codahale.metrics.MetricRegistry setDefault(java.lang.String);
    descriptor: (Ljava/lang/String;)Lcom/codahale/metrics/MetricRegistry;
    flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // java.lang.String name
         0: .line 61
            aload 0 /* name */
            invokestatic com.codahale.metrics.SharedMetricRegistries.getOrCreate:(Ljava/lang/String;)Lcom/codahale/metrics/MetricRegistry;
            astore 1 /* registry */
        start local 1 // com.codahale.metrics.MetricRegistry registry
         1: .line 62
            aload 0 /* name */
            aload 1 /* registry */
            invokestatic com.codahale.metrics.SharedMetricRegistries.setDefault:(Ljava/lang/String;Lcom/codahale/metrics/MetricRegistry;)Lcom/codahale/metrics/MetricRegistry;
            areturn
        end local 1 // com.codahale.metrics.MetricRegistry registry
        end local 0 // java.lang.String name
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    2     0      name  Ljava/lang/String;
            1    2     1  registry  Lcom/codahale/metrics/MetricRegistry;
    MethodParameters:
      Name  Flags
      name  

  public static com.codahale.metrics.MetricRegistry setDefault(java.lang.String, com.codahale.metrics.MetricRegistry);
    descriptor: (Ljava/lang/String;Lcom/codahale/metrics/MetricRegistry;)Lcom/codahale/metrics/MetricRegistry;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // java.lang.String name
        start local 1 // com.codahale.metrics.MetricRegistry metricRegistry
         0: .line 73
            getstatic com.codahale.metrics.SharedMetricRegistries.defaultRegistryName:Ljava/util/concurrent/atomic/AtomicReference;
            aconst_null
            aload 0 /* name */
            invokevirtual java.util.concurrent.atomic.AtomicReference.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
            ifeq 3
         1: .line 74
            aload 0 /* name */
            aload 1 /* metricRegistry */
            invokestatic com.codahale.metrics.SharedMetricRegistries.add:(Ljava/lang/String;Lcom/codahale/metrics/MetricRegistry;)Lcom/codahale/metrics/MetricRegistry;
            pop
         2: .line 75
            aload 1 /* metricRegistry */
            areturn
         3: .line 77
      StackMap locals:
      StackMap stack:
            new java.lang.IllegalStateException
            dup
            ldc "Default metric registry name is already set."
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
        end local 1 // com.codahale.metrics.MetricRegistry metricRegistry
        end local 0 // java.lang.String name
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0    4     0            name  Ljava/lang/String;
            0    4     1  metricRegistry  Lcom/codahale/metrics/MetricRegistry;
    MethodParameters:
                Name  Flags
      name            
      metricRegistry  

  public static com.codahale.metrics.MetricRegistry getDefault();
    descriptor: ()Lcom/codahale/metrics/MetricRegistry;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=1, args_size=0
         0: .line 87
            invokestatic com.codahale.metrics.SharedMetricRegistries.tryGetDefault:()Lcom/codahale/metrics/MetricRegistry;
            astore 0 /* metricRegistry */
        start local 0 // com.codahale.metrics.MetricRegistry metricRegistry
         1: .line 88
            aload 0 /* metricRegistry */
            ifnonnull 3
         2: .line 89
            new java.lang.IllegalStateException
            dup
            ldc "Default registry name has not been set."
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         3: .line 91
      StackMap locals: com.codahale.metrics.MetricRegistry
      StackMap stack:
            aload 0 /* metricRegistry */
            areturn
        end local 0 // com.codahale.metrics.MetricRegistry metricRegistry
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            1    4     0  metricRegistry  Lcom/codahale/metrics/MetricRegistry;

  public static com.codahale.metrics.MetricRegistry tryGetDefault();
    descriptor: ()Lcom/codahale/metrics/MetricRegistry;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=1, locals=1, args_size=0
         0: .line 100
            getstatic com.codahale.metrics.SharedMetricRegistries.defaultRegistryName:Ljava/util/concurrent/atomic/AtomicReference;
            invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
            checkcast java.lang.String
            astore 0 /* name */
        start local 0 // java.lang.String name
         1: .line 101
            aload 0 /* name */
            ifnull 3
         2: .line 102
            aload 0 /* name */
            invokestatic com.codahale.metrics.SharedMetricRegistries.getOrCreate:(Ljava/lang/String;)Lcom/codahale/metrics/MetricRegistry;
            areturn
         3: .line 104
      StackMap locals: java.lang.String
      StackMap stack:
            aconst_null
            areturn
        end local 0 // java.lang.String name
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            1    4     0  name  Ljava/lang/String;
}
SourceFile: "SharedMetricRegistries.java"