public class org.postgresql.hostchooser.GlobalHostStatusTracker
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.postgresql.hostchooser.GlobalHostStatusTracker
  super_class: java.lang.Object
{
  private static final java.util.Map<org.postgresql.util.HostSpec, org.postgresql.hostchooser.GlobalHostStatusTracker$HostSpecStatus> hostStatusMap;
    descriptor: Ljava/util/Map;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    Signature: Ljava/util/Map<Lorg/postgresql/util/HostSpec;Lorg/postgresql/hostchooser/GlobalHostStatusTracker$HostSpecStatus;>;

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=0, args_size=0
         0: .line 22
            new java.util.HashMap
            dup
            invokespecial java.util.HashMap.<init>:()V
         1: .line 21
            putstatic org.postgresql.hostchooser.GlobalHostStatusTracker.hostStatusMap:Ljava/util/Map;
         2: .line 22
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.postgresql.hostchooser.GlobalHostStatusTracker this
         0: .line 20
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // org.postgresql.hostchooser.GlobalHostStatusTracker this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/postgresql/hostchooser/GlobalHostStatusTracker;

  public static void reportHostStatus(org.postgresql.util.HostSpec, org.postgresql.hostchooser.HostStatus);
    descriptor: (Lorg/postgresql/util/HostSpec;Lorg/postgresql/hostchooser/HostStatus;)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=6, args_size=2
        start local 0 // org.postgresql.util.HostSpec hostSpec
        start local 1 // org.postgresql.hostchooser.HostStatus hostStatus
         0: .line 31
            invokestatic java.lang.System.currentTimeMillis:()J
            lstore 2 /* now */
        start local 2 // long now
         1: .line 32
            getstatic org.postgresql.hostchooser.GlobalHostStatusTracker.hostStatusMap:Ljava/util/Map;
            dup
            astore 4
            monitorenter
         2: .line 33
            getstatic org.postgresql.hostchooser.GlobalHostStatusTracker.hostStatusMap:Ljava/util/Map;
            aload 0 /* hostSpec */
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast org.postgresql.hostchooser.GlobalHostStatusTracker$HostSpecStatus
            astore 5 /* hostSpecStatus */
        start local 5 // org.postgresql.hostchooser.GlobalHostStatusTracker$HostSpecStatus hostSpecStatus
         3: .line 34
            aload 5 /* hostSpecStatus */
            ifnonnull 6
         4: .line 35
            new org.postgresql.hostchooser.GlobalHostStatusTracker$HostSpecStatus
            dup
            aload 0 /* hostSpec */
            invokespecial org.postgresql.hostchooser.GlobalHostStatusTracker$HostSpecStatus.<init>:(Lorg/postgresql/util/HostSpec;)V
            astore 5 /* hostSpecStatus */
         5: .line 36
            getstatic org.postgresql.hostchooser.GlobalHostStatusTracker.hostStatusMap:Ljava/util/Map;
            aload 0 /* hostSpec */
            aload 5 /* hostSpecStatus */
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         6: .line 38
      StackMap locals: long java.util.Map org.postgresql.hostchooser.GlobalHostStatusTracker$HostSpecStatus
      StackMap stack:
            aload 5 /* hostSpecStatus */
            aload 1 /* hostStatus */
            putfield org.postgresql.hostchooser.GlobalHostStatusTracker$HostSpecStatus.status:Lorg/postgresql/hostchooser/HostStatus;
         7: .line 39
            aload 5 /* hostSpecStatus */
            lload 2 /* now */
            putfield org.postgresql.hostchooser.GlobalHostStatusTracker$HostSpecStatus.lastUpdated:J
        end local 5 // org.postgresql.hostchooser.GlobalHostStatusTracker$HostSpecStatus hostSpecStatus
         8: .line 32
            aload 4
            monitorexit
         9: goto 12
      StackMap locals: org.postgresql.util.HostSpec org.postgresql.hostchooser.HostStatus long java.util.Map
      StackMap stack: java.lang.Throwable
        10: aload 4
            monitorexit
        11: athrow
        12: .line 41
      StackMap locals:
      StackMap stack:
            return
        end local 2 // long now
        end local 1 // org.postgresql.hostchooser.HostStatus hostStatus
        end local 0 // org.postgresql.util.HostSpec hostSpec
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0   13     0        hostSpec  Lorg/postgresql/util/HostSpec;
            0   13     1      hostStatus  Lorg/postgresql/hostchooser/HostStatus;
            1   13     2             now  J
            3    8     5  hostSpecStatus  Lorg/postgresql/hostchooser/GlobalHostStatusTracker$HostSpecStatus;
      Exception table:
        from    to  target  type
           2     9      10  any
          10    11      10  any
    MethodParameters:
            Name  Flags
      hostSpec    
      hostStatus  

  static java.util.List<org.postgresql.util.HostSpec> getCandidateHosts(org.postgresql.util.HostSpec[], org.postgresql.hostchooser.HostRequirement, long);
    descriptor: ([Lorg/postgresql/util/HostSpec;Lorg/postgresql/hostchooser/HostRequirement;J)Ljava/util/List;
    flags: (0x0008) ACC_STATIC
    Code:
      stack=4, locals=13, args_size=3
        start local 0 // org.postgresql.util.HostSpec[] hostSpecs
        start local 1 // org.postgresql.hostchooser.HostRequirement targetServerType
        start local 2 // long hostRecheckMillis
         0: .line 53
            new java.util.ArrayList
            dup
            aload 0 /* hostSpecs */
            arraylength
            invokespecial java.util.ArrayList.<init>:(I)V
            astore 4 /* candidates */
        start local 4 // java.util.List candidates
         1: .line 54
            invokestatic java.lang.System.currentTimeMillis:()J
            lload 2 /* hostRecheckMillis */
            lsub
            lstore 5 /* latestAllowedUpdate */
        start local 5 // long latestAllowedUpdate
         2: .line 55
            getstatic org.postgresql.hostchooser.GlobalHostStatusTracker.hostStatusMap:Ljava/util/Map;
            dup
            astore 7
            monitorenter
         3: .line 56
            aload 0 /* hostSpecs */
            dup
            astore 11
            arraylength
            istore 10
            iconst_0
            istore 9
            goto 11
      StackMap locals: org.postgresql.util.HostSpec[] org.postgresql.hostchooser.HostRequirement long java.util.List long java.util.Map top int int org.postgresql.util.HostSpec[]
      StackMap stack:
         4: aload 11
            iload 9
            aaload
            astore 8 /* hostSpec */
        start local 8 // org.postgresql.util.HostSpec hostSpec
         5: .line 57
            getstatic org.postgresql.hostchooser.GlobalHostStatusTracker.hostStatusMap:Ljava/util/Map;
            aload 8 /* hostSpec */
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast org.postgresql.hostchooser.GlobalHostStatusTracker$HostSpecStatus
            astore 12 /* hostInfo */
        start local 12 // org.postgresql.hostchooser.GlobalHostStatusTracker$HostSpecStatus hostInfo
         6: .line 59
            aload 12 /* hostInfo */
            ifnull 9
         7: .line 60
            aload 12 /* hostInfo */
            getfield org.postgresql.hostchooser.GlobalHostStatusTracker$HostSpecStatus.lastUpdated:J
            lload 5 /* latestAllowedUpdate */
            lcmp
            iflt 9
         8: .line 61
            aload 1 /* targetServerType */
            aload 12 /* hostInfo */
            getfield org.postgresql.hostchooser.GlobalHostStatusTracker$HostSpecStatus.status:Lorg/postgresql/hostchooser/HostStatus;
            invokevirtual org.postgresql.hostchooser.HostRequirement.allowConnectingTo:(Lorg/postgresql/hostchooser/HostStatus;)Z
            ifeq 10
         9: .line 62
      StackMap locals: org.postgresql.util.HostSpec[] org.postgresql.hostchooser.HostRequirement long java.util.List long java.util.Map org.postgresql.util.HostSpec int int org.postgresql.util.HostSpec[] org.postgresql.hostchooser.GlobalHostStatusTracker$HostSpecStatus
      StackMap stack:
            aload 4 /* candidates */
            aload 8 /* hostSpec */
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
        end local 12 // org.postgresql.hostchooser.GlobalHostStatusTracker$HostSpecStatus hostInfo
        end local 8 // org.postgresql.util.HostSpec hostSpec
        10: .line 56
      StackMap locals: org.postgresql.util.HostSpec[] org.postgresql.hostchooser.HostRequirement long java.util.List long java.util.Map top int int org.postgresql.util.HostSpec[]
      StackMap stack:
            iinc 9 1
      StackMap locals:
      StackMap stack:
        11: iload 9
            iload 10
            if_icmplt 4
        12: .line 55
            aload 7
            monitorexit
        13: goto 16
      StackMap locals: org.postgresql.util.HostSpec[] org.postgresql.hostchooser.HostRequirement long java.util.List long java.util.Map
      StackMap stack: java.lang.Throwable
        14: aload 7
            monitorexit
        15: athrow
        16: .line 66
      StackMap locals:
      StackMap stack:
            aload 4 /* candidates */
            areturn
        end local 5 // long latestAllowedUpdate
        end local 4 // java.util.List candidates
        end local 2 // long hostRecheckMillis
        end local 1 // org.postgresql.hostchooser.HostRequirement targetServerType
        end local 0 // org.postgresql.util.HostSpec[] hostSpecs
      LocalVariableTable:
        Start  End  Slot                 Name  Signature
            0   17     0            hostSpecs  [Lorg/postgresql/util/HostSpec;
            0   17     1     targetServerType  Lorg/postgresql/hostchooser/HostRequirement;
            0   17     2    hostRecheckMillis  J
            1   17     4           candidates  Ljava/util/List<Lorg/postgresql/util/HostSpec;>;
            2   17     5  latestAllowedUpdate  J
            5   10     8             hostSpec  Lorg/postgresql/util/HostSpec;
            6   10    12             hostInfo  Lorg/postgresql/hostchooser/GlobalHostStatusTracker$HostSpecStatus;
      Exception table:
        from    to  target  type
           3    13      14  any
          14    15      14  any
    Signature: ([Lorg/postgresql/util/HostSpec;Lorg/postgresql/hostchooser/HostRequirement;J)Ljava/util/List<Lorg/postgresql/util/HostSpec;>;
    MethodParameters:
                   Name  Flags
      hostSpecs          
      targetServerType   
      hostRecheckMillis  
}
SourceFile: "GlobalHostStatusTracker.java"
NestMembers:
  org.postgresql.hostchooser.GlobalHostStatusTracker$HostSpecStatus
InnerClasses:
  HostSpecStatus = org.postgresql.hostchooser.GlobalHostStatusTracker$HostSpecStatus of org.postgresql.hostchooser.GlobalHostStatusTracker