
com.groupbyinc.flux.indices.cache.request.IndicesRequestCache$Reaper.class Maven / Gradle / Ivy
???? 3 ? Dcom/groupbyinc/flux/indices/cache/request/IndicesRequestCache$Reaper java/lang/Object java/lang/Runnable IndicesRequestCache.java =com/groupbyinc/flux/indices/cache/request/IndicesRequestCache Reaper Fcom/groupbyinc/flux/indices/cache/request/IndicesRequestCache$Reaper$1 Hcom/groupbyinc/flux/indices/cache/request/IndicesRequestCache$CleanupKey
CleanupKey Acom/groupbyinc/flux/indices/cache/request/IndicesRequestCache$Key Key ?com/groupbyinc/flux/indices/cache/request/IndicesRequestCache$1 /com/groupbyinc/flux/threadpool/ThreadPool$Names )com/groupbyinc/flux/threadpool/ThreadPool Names currentKeysToClean 8Lcom/groupbyinc/flux/common/carrotsearch/hppc/ObjectSet; ?Lcom/groupbyinc/flux/common/carrotsearch/hppc/ObjectSet; currentFullClean fLcom/groupbyinc/flux/common/carrotsearch/hppc/ObjectSet; closed Z this$0 ?Lcom/groupbyinc/flux/indices/cache/request/IndicesRequestCache; B(Lcom/groupbyinc/flux/indices/cache/request/IndicesRequestCache;)V ! " % ()V # '
( :com/groupbyinc/flux/common/carrotsearch/hppc/ObjectHashSet *
+ ( - / this FLcom/groupbyinc/flux/indices/cache/request/IndicesRequestCache$Reaper; close 4 run Gcom/groupbyinc/flux/common/util/concurrent/EsRejectedExecutionException 7 keysToClean Ljava/util/Set; 9 : ;
java/util/Set = isEmpty ()Z ? @ > A schedule C '
D
access$400 l(Lcom/groupbyinc/flux/indices/cache/request/IndicesRequestCache;)Lcom/groupbyinc/flux/threadpool/ThreadPool; F G
H generic J executor 3(Ljava/lang/String;)Ljava/util/concurrent/Executor; L M
N I(Lcom/groupbyinc/flux/indices/cache/request/IndicesRequestCache$Reaper;)V # P
Q java/util/concurrent/Executor S execute (Ljava/lang/Runnable;)V U V T W
access$500 n(Lcom/groupbyinc/flux/indices/cache/request/IndicesRequestCache;)Lcom/groupbyinc/flux/common/logging/ESLogger; Y Z
[ .Can not run ReaderCleaner - execution rejected ] +com/groupbyinc/flux/common/logging/ESLogger _ debug =(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/Object;)V a b ` c ex ILcom/groupbyinc/flux/common/util/concurrent/EsRejectedExecutionException;
access$600 l(Lcom/groupbyinc/flux/indices/cache/request/IndicesRequestCache;)Lcom/groupbyinc/flux/common/unit/TimeValue; g h
i same k y(Lcom/groupbyinc/flux/common/unit/TimeValue;Ljava/lang/String;Ljava/lang/Runnable;)Ljava/util/concurrent/ScheduledFuture; C m
n
access$700 p Z
q 3Can not schedule ReaderCleaner - execution rejected s reap 6com/groupbyinc/flux/common/carrotsearch/hppc/ObjectSet v clear x ' w y iterator ()Ljava/util/Iterator; { | > } java/util/Iterator hasNext ? @ ? ? next ()Ljava/lang/Object; ? ? ? ? remove ? ' ? ?
readerVersion J ? ? ?????????
indexShard ,Lcom/groupbyinc/flux/index/shard/IndexShard; ? ? ? *com/groupbyinc/flux/index/shard/IndexShard ? state 3()Lcom/groupbyinc/flux/index/shard/IndexShardState; ? ?
? ? /com/groupbyinc/flux/index/shard/IndexShardState ? CLOSED 1Lcom/groupbyinc/flux/index/shard/IndexShardState; ? ? ? ? add (Ljava/lang/Object;)Z ? ? w ? w A ?(Lcom/groupbyinc/flux/indices/cache/request/IndicesRequestCache;Lcom/groupbyinc/flux/index/shard/IndexShard;JLcom/groupbyinc/flux/indices/cache/request/IndicesRequestCache$1;)V # ?
?
access$800 w(Lcom/groupbyinc/flux/indices/cache/request/IndicesRequestCache;)Lcom/groupbyinc/flux/common/google/common/cache/Cache; ? ?
? 4com/groupbyinc/flux/common/google/common/cache/Cache ? asMap &()Ljava/util/concurrent/ConcurrentMap; ? ? ? ? "java/util/concurrent/ConcurrentMap ? keySet ()Ljava/util/Set; ? ? ? ? shard ? ? ? contains ? ? w ? ? cleanUp ? ' ? ?
cleanupKey JLcom/groupbyinc/flux/indices/cache/request/IndicesRequestCache$CleanupKey; `Ljava/util/Iterator; Ljava/util/Iterator; key CLcom/groupbyinc/flux/indices/cache/request/IndicesRequestCache$Key; YLjava/util/Iterator; lookupKey ?(Lcom/groupbyinc/flux/indices/cache/request/IndicesRequestCache;Lcom/groupbyinc/flux/indices/cache/request/IndicesRequestCache$1;)V # $
? x0 x1 ALcom/groupbyinc/flux/indices/cache/request/IndicesRequestCache$1;
access$300 Signature Code LocalVariableTable LineNumberTable
StackMapTable LocalVariableTypeTable
SourceFile InnerClasses ? ? B ! " # $ ? R *+? &*? )*? +Y? ,? .*? +Y? ,? 0? ? 1 2 ? ? ? ? 3 ' ? 4 *? 5? ? 1 2 ?
? ? 6 ' ? ? M*? 5? ?*? &?