com.groupbyinc.flux.client.DeadHostState.class Maven / Gradle / Ivy
???? 3 ? (com/groupbyinc/flux/client/DeadHostState TLjava/lang/Object;Ljava/lang/Comparable; java/lang/Object java/lang/Comparable DeadHostState.java 5com/groupbyinc/flux/client/DeadHostState$TimeSupplier TimeSupplier MIN_CONNECTION_TIMEOUT_NANOS J MAX_CONNECTION_TIMEOUT_NANOS failedAttempts I deadUntilNanos timeSupplier 7Lcom/groupbyinc/flux/client/DeadHostState$TimeSupplier; :(Lcom/groupbyinc/flux/client/DeadHostState$TimeSupplier;)V ()V
nanoTime ()J
! # this *Lcom/groupbyinc/flux/client/DeadHostState; -(Lcom/groupbyinc/flux/client/DeadHostState;)V @ ?? java/lang/Math . pow (DD)D 0 1
/ 2
4 min 6 1
/ 7 previousDeadHostState timeoutNanos shallBeRetried ()Z getDeadUntilNanos getFailedAttempts ()I compareTo -(Lcom/groupbyinc/flux/client/DeadHostState;)I "java/lang/IllegalArgumentException B java/lang/StringBuilder D
E 4can't compare DeadHostStates with different clocks [ G append -(Ljava/lang/String;)Ljava/lang/StringBuilder; I J
E K -(Ljava/lang/Object;)Ljava/lang/StringBuilder; I M
E N != P ] R toString ()Ljava/lang/String; T U
E V (Ljava/lang/String;)V X
C Y java/lang/Long [ compare (JJ)I ] ^
\ _ other DeadHostState{failedAttempts= b (I)Ljava/lang/StringBuilder; I d
E e , deadUntilNanos= g (J)Ljava/lang/StringBuilder; I i
E j , timeSupplier= l (C)Ljava/lang/StringBuilder; I n
E o (Ljava/lang/Object;)I @ A
r java/util/concurrent/TimeUnit u MINUTES Ljava/util/concurrent/TimeUnit; w x v y toNanos (J)J { |
v } Code LocalVariableTable LineNumberTable
StackMapTable Signature
SourceFile InnerClasses 0
? a *? *? *+? ? a? "*+? $? ? % &