
org.postgresql.hostchooser.GlobalHostStatusTracker.class Maven / Gradle / Ivy
The newest version!
???? 4 ~
L
M N O P Q R S
T
U P V W X W Y W Z [
\ ] ^???????
_ ` a b c
L d e HostSpecStatus InnerClasses
hostStatusMap Ljava/util/Map; Signature rLjava/util/Map; ()V Code LineNumberTable LocalVariableTable this 4Lorg/postgresql/hostchooser/GlobalHostStatusTracker; reportHostStatus H(Lorg/postgresql/util/HostSpec;Lorg/postgresql/hostchooser/HostStatus;)V oldStatus CLorg/postgresql/hostchooser/GlobalHostStatusTracker$HostSpecStatus; hostSpec Lorg/postgresql/util/HostSpec;
hostStatus 'Lorg/postgresql/hostchooser/HostStatus; now J
StackMapTable e R f updateStatusFromTo Q(Lorg/postgresql/hostchooser/HostStatus;Lorg/postgresql/hostchooser/HostStatus;)Z newStatus getCandidateHosts ^([Lorg/postgresql/util/HostSpec;Lorg/postgresql/hostchooser/HostRequirement;J)Ljava/util/List; hostInfo hostSpecs [Lorg/postgresql/util/HostSpec; targetServerType ,Lorg/postgresql/hostchooser/HostRequirement; hostRecheckMillis
candidates Ljava/util/List; latestAllowedUpdate LocalVariableTypeTable ULjava/util/List; ; g h i ?([Lorg/postgresql/util/HostSpec;Lorg/postgresql/hostchooser/HostRequirement;J)Ljava/util/List;
SourceFile GlobalHostStatusTracker.java j k l m n o Aorg/postgresql/hostchooser/GlobalHostStatusTracker$HostSpecStatus p - 4 5 q r s t u - v - w - java/util/ArrayList x y / java/lang/Long g z { h | } java/util/HashMap 2org/postgresql/hostchooser/GlobalHostStatusTracker java/lang/Object java/lang/Throwable *org/postgresql/hostchooser/HostRequirement java/util/List org/postgresql/util/HostSpec java/lang/System currentTimeMillis ()J
java/util/Map get &(Ljava/lang/Object;)Ljava/lang/Object; status I(Lorg/postgresql/util/HostSpec;Lorg/postgresql/hostchooser/HostStatus;J)V put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; %org/postgresql/hostchooser/HostStatus ConnectOK Master Slave (I)V lastUpdated allowConnectingTo *(Lorg/postgresql/hostchooser/HostStatus;)Z add (Ljava/lang/Object;)Z ! ! / *? ? " # $ % &