public class com.codahale.metrics.health.SharedHealthCheckRegistries
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: com.codahale.metrics.health.SharedHealthCheckRegistries
  super_class: java.lang.Object
{
  private static final java.util.concurrent.ConcurrentMap<java.lang.String, com.codahale.metrics.health.HealthCheckRegistry> 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/health/HealthCheckRegistry;>;

  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.health.SharedHealthCheckRegistries.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.health.SharedHealthCheckRegistries.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.health.SharedHealthCheckRegistries.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.health.SharedHealthCheckRegistries this
         0: .line 22
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // com.codahale.metrics.health.SharedHealthCheckRegistries this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/codahale/metrics/health/SharedHealthCheckRegistries;

  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.health.SharedHealthCheckRegistries.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.health.SharedHealthCheckRegistries.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.health.SharedHealthCheckRegistries.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.health.HealthCheckRegistry add(java.lang.String, com.codahale.metrics.health.HealthCheckRegistry);
    descriptor: (Ljava/lang/String;Lcom/codahale/metrics/health/HealthCheckRegistry;)Lcom/codahale/metrics/health/HealthCheckRegistry;
    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.health.HealthCheckRegistry registry
         0: .line 37
            getstatic com.codahale.metrics.health.SharedHealthCheckRegistries.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.health.HealthCheckRegistry
            areturn
        end local 1 // com.codahale.metrics.health.HealthCheckRegistry 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/health/HealthCheckRegistry;
    MethodParameters:
          Name  Flags
      name      
      registry  

  public static com.codahale.metrics.health.HealthCheckRegistry getOrCreate(java.lang.String);
    descriptor: (Ljava/lang/String;)Lcom/codahale/metrics/health/HealthCheckRegistry;
    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.health.SharedHealthCheckRegistries.REGISTRIES:Ljava/util/concurrent/ConcurrentMap;
            aload 0 /* name */
            invokeinterface java.util.concurrent.ConcurrentMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast com.codahale.metrics.health.HealthCheckRegistry
            astore 1 /* existing */
        start local 1 // com.codahale.metrics.health.HealthCheckRegistry existing
         1: .line 42
            aload 1 /* existing */
            ifnonnull 7
         2: .line 43
            new com.codahale.metrics.health.HealthCheckRegistry
            dup
            invokespecial com.codahale.metrics.health.HealthCheckRegistry.<init>:()V
            astore 2 /* created */
        start local 2 // com.codahale.metrics.health.HealthCheckRegistry created
         3: .line 44
            aload 0 /* name */
            aload 2 /* created */
            invokestatic com.codahale.metrics.health.SharedHealthCheckRegistries.add:(Ljava/lang/String;Lcom/codahale/metrics/health/HealthCheckRegistry;)Lcom/codahale/metrics/health/HealthCheckRegistry;
            astore 3 /* raced */
        start local 3 // com.codahale.metrics.health.HealthCheckRegistry raced
         4: .line 45
            aload 3 /* raced */
            ifnonnull 6
         5: .line 46
            aload 2 /* created */
            areturn
         6: .line 48
      StackMap locals: com.codahale.metrics.health.HealthCheckRegistry com.codahale.metrics.health.HealthCheckRegistry com.codahale.metrics.health.HealthCheckRegistry
      StackMap stack:
            aload 3 /* raced */
            areturn
        end local 3 // com.codahale.metrics.health.HealthCheckRegistry raced
        end local 2 // com.codahale.metrics.health.HealthCheckRegistry created
         7: .line 50
      StackMap locals:
      StackMap stack:
            aload 1 /* existing */
            areturn
        end local 1 // com.codahale.metrics.health.HealthCheckRegistry 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/health/HealthCheckRegistry;
            3    7     2   created  Lcom/codahale/metrics/health/HealthCheckRegistry;
            4    7     3     raced  Lcom/codahale/metrics/health/HealthCheckRegistry;
    MethodParameters:
      Name  Flags
      name  

  public static synchronized com.codahale.metrics.health.HealthCheckRegistry setDefault(java.lang.String);
    descriptor: (Ljava/lang/String;)Lcom/codahale/metrics/health/HealthCheckRegistry;
    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.health.SharedHealthCheckRegistries.getOrCreate:(Ljava/lang/String;)Lcom/codahale/metrics/health/HealthCheckRegistry;
            astore 1 /* registry */
        start local 1 // com.codahale.metrics.health.HealthCheckRegistry registry
         1: .line 62
            aload 0 /* name */
            aload 1 /* registry */
            invokestatic com.codahale.metrics.health.SharedHealthCheckRegistries.setDefault:(Ljava/lang/String;Lcom/codahale/metrics/health/HealthCheckRegistry;)Lcom/codahale/metrics/health/HealthCheckRegistry;
            areturn
        end local 1 // com.codahale.metrics.health.HealthCheckRegistry 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/health/HealthCheckRegistry;
    MethodParameters:
      Name  Flags
      name  

  public static com.codahale.metrics.health.HealthCheckRegistry setDefault(java.lang.String, com.codahale.metrics.health.HealthCheckRegistry);
    descriptor: (Ljava/lang/String;Lcom/codahale/metrics/health/HealthCheckRegistry;)Lcom/codahale/metrics/health/HealthCheckRegistry;
    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.health.HealthCheckRegistry healthCheckRegistry
         0: .line 73
            getstatic com.codahale.metrics.health.SharedHealthCheckRegistries.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 /* healthCheckRegistry */
            invokestatic com.codahale.metrics.health.SharedHealthCheckRegistries.add:(Ljava/lang/String;Lcom/codahale/metrics/health/HealthCheckRegistry;)Lcom/codahale/metrics/health/HealthCheckRegistry;
            pop
         2: .line 75
            aload 1 /* healthCheckRegistry */
            areturn
         3: .line 77
      StackMap locals:
      StackMap stack:
            new java.lang.IllegalStateException
            dup
            ldc "Default health check registry is already set."
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
        end local 1 // com.codahale.metrics.health.HealthCheckRegistry healthCheckRegistry
        end local 0 // java.lang.String name
      LocalVariableTable:
        Start  End  Slot                 Name  Signature
            0    4     0                 name  Ljava/lang/String;
            0    4     1  healthCheckRegistry  Lcom/codahale/metrics/health/HealthCheckRegistry;
    MethodParameters:
                     Name  Flags
      name                 
      healthCheckRegistry  

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

  public static com.codahale.metrics.health.HealthCheckRegistry tryGetDefault();
    descriptor: ()Lcom/codahale/metrics/health/HealthCheckRegistry;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=1, locals=1, args_size=0
         0: .line 100
            getstatic com.codahale.metrics.health.SharedHealthCheckRegistries.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.health.SharedHealthCheckRegistries.getOrCreate:(Ljava/lang/String;)Lcom/codahale/metrics/health/HealthCheckRegistry;
            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: "SharedHealthCheckRegistries.java"