com.groupbyinc.flux.common.http.pool.PoolEntry.class Maven / Gradle / Ivy
???? 2 ? .com/groupbyinc/flux/common/http/pool/PoolEntry <Ljava/lang/Object; java/lang/Object PoolEntry.java 5Lcom/groupbyinc/flux/common/http/annotation/Contract; threading >Lcom/groupbyinc/flux/common/http/annotation/ThreadingBehavior; SAFE_CONDITIONAL id Ljava/lang/String; route Ljava/lang/Object; TT; conn TC; created J validityDeadline updated expiry state Y(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;JLjava/util/concurrent/TimeUnit;)V ()V
Route )com/groupbyinc/flux/common/http/util/Args notNull 8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; ! "
#
Connection % Time unit ' )
+ - java/lang/System / currentTimeMillis ()J 1 2
0 3 5 java/util/concurrent/TimeUnit 7 toMillis (J)J 9 :
8 ; = java/lang/String ???????? C this 8Lcom/groupbyinc/flux/common/http/pool/PoolEntry; 0Lcom/groupbyinc/flux/common/http/pool/PoolEntry;
timeToLive tunit Ljava/util/concurrent/TimeUnit; 9(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V MILLISECONDS L J 8 M
O getId ()Ljava/lang/String; getRoute ()Ljava/lang/Object;
getConnection
getCreated getValidityDeadline getValidUnit Ljava/lang/Deprecated; getState [ setState (Ljava/lang/Object;)V
getUpdated ` getExpiry updateExpiry #(JLjava/util/concurrent/TimeUnit;)V java/lang/Math e min (JJ)J g h
f i newExpiry time isExpired (J)Z now close isClosed ()Z toString java/lang/StringBuilder t
u [id: w append -(Ljava/lang/String;)Ljava/lang/StringBuilder; y z
u { ][route: } -(Ljava/lang/Object;)Ljava/lang/StringBuilder; y
u ? ][state: ? ] ? s R
u ? buffer Ljava/lang/StringBuilder; Signature Code LocalVariableTable LocalVariableTypeTable LineNumberTable
StackMapTable ;(Ljava/lang/String;TT;TC;JLjava/util/concurrent/TimeUnit;)V (Ljava/lang/String;TT;TC;)V ()TT; ()TC;
Deprecated RuntimeVisibleAnnotations
SourceFile RuntimeInvisibleAnnotations!
? ? B ? , Z*? ,? $W-&? $W(? $W*+? **,? ,*-? .*? 4? 6 ?? **? 6?