org.postgresql.hostchooser.MultiHostChooser.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of huaweicloud-dws-jdbc Show documentation
Show all versions of huaweicloud-dws-jdbc Show documentation
Data Warehouse Service JDBC driver
???? 2 ?
( i ' j ' k l m
l n ' o l p
l q ' r s t
u
' v K w
x y z
{
| }
' ~ L @ ?
' ? @ ? @ ? L ? L ? L ? ?
( ?
' ?
' ?
? ? ?
! ? ?
# ? ?
% ? ? ? ? InnerClasses hostSpecs [Lorg/postgresql/util/HostSpec; targetServerType ,Lorg/postgresql/hostchooser/HostRequirement; hostRecheckTime I loadBalance Z d([Lorg/postgresql/util/HostSpec;Lorg/postgresql/hostchooser/HostRequirement;Ljava/util/Properties;)V Code LineNumberTable LocalVariableTable e #Lorg/postgresql/util/PSQLException; this -Lorg/postgresql/hostchooser/MultiHostChooser; info Ljava/util/Properties;
StackMapTable , ? ? iterator ()Ljava/util/Iterator; allHosts Ljava/util/List; res Ljava/util/Iterator; LocalVariableTypeTable 0Ljava/util/List; @Ljava/util/Iterator; ? ? Signature B()Ljava/util/Iterator; candidateIterator secondaries any ; getCandidateHosts >(Lorg/postgresql/hostchooser/HostRequirement;)Ljava/util/List; hostRequirement
candidates j(Lorg/postgresql/hostchooser/HostRequirement;)Ljava/util/List;
withReqStatus N(Lorg/postgresql/hostchooser/HostRequirement;Ljava/util/List;)Ljava/util/List; requirement hosts ?(Lorg/postgresql/hostchooser/HostRequirement;Ljava/util/List;)Ljava/util/List; append 2(Ljava/util/List;Ljava/util/List;)Ljava/util/List; a b Ljava/util/List; W(Ljava/util/List;Ljava/util/List;)Ljava/util/List; rtrim #(ILjava/util/List;)Ljava/util/List; size C(ILjava/util/List;)Ljava/util/List;
SourceFile MultiHostChooser.java 3 ? + , - . ? ? ? ? ? / 0 ? ? ? ? 1 2 !org/postgresql/util/PSQLException java/lang/RuntimeException 3 ? O C ? ? ? ? ? java/util/ArrayList 3 ? ? ? ? X Y B C ? . S T ? . Q . ? ? e ? ? ? (org/postgresql/hostchooser/CandidateHost ? ? c d ] ^ ? S ? -org/postgresql/hostchooser/MultiHostChooser$1 3 ? -org/postgresql/hostchooser/MultiHostChooser$2 3 ? -org/postgresql/hostchooser/MultiHostChooser$3 3 ? +org/postgresql/hostchooser/MultiHostChooser java/lang/Object &org/postgresql/hostchooser/HostChooser *org/postgresql/hostchooser/HostRequirement java/util/Properties java/util/Iterator java/util/List ()V org/postgresql/PGProperty HOST_RECHECK_SECONDS Lorg/postgresql/PGProperty; getInt (Ljava/util/Properties;)I LOAD_BALANCE_HOSTS
getBoolean (Ljava/util/Properties;)Z (Ljava/lang/Throwable;)V hasNext ()Z java/util/Arrays asList %([Ljava/lang/Object;)Ljava/util/List; (Ljava/util/Collection;)V java/util/Collections shuffle (Ljava/util/List;)V preferSecondary secondary isEmpty ()I get (I)Ljava/lang/Object; equals (Ljava/lang/Object;)Z 2org/postgresql/hostchooser/GlobalHostStatusTracker ^([Lorg/postgresql/util/HostSpec;Lorg/postgresql/hostchooser/HostRequirement;J)Ljava/util/List; l(Lorg/postgresql/hostchooser/MultiHostChooser;Ljava/util/List;Lorg/postgresql/hostchooser/HostRequirement;)V P(Lorg/postgresql/hostchooser/MultiHostChooser;Ljava/util/List;Ljava/util/List;)V A(Lorg/postgresql/hostchooser/MultiHostChooser;Ljava/util/List;I)V ' ( ) + , - . / 0 1 2 3 4 5 ? 8*? *+? *,? *? -? ?h? *? -? ? ? :? Y? ?? ( +
6 &