com.groupbyinc.flux.indices.IndicesService$CacheCleaner.class Maven / Gradle / Ivy
???? 4 ? 7com/groupbyinc/flux/indices/IndicesService$CacheCleaner java/lang/Object java/lang/Runnable +com/groupbyinc/flux/common/lease/Releasable IndicesService.java *com/groupbyinc/flux/indices/IndicesService
CacheCleaner /com/groupbyinc/flux/threadpool/ThreadPool$Names
)com/groupbyinc/flux/threadpool/ThreadPool Names cache CLcom/groupbyinc/flux/indices/fielddata/cache/IndicesFieldDataCache; logger !Lorg/apache/logging/log4j/Logger;
threadPool +Lcom/groupbyinc/flux/threadpool/ThreadPool; interval +Lcom/groupbyinc/flux/common/unit/TimeValue; closed +Ljava/util/concurrent/atomic/AtomicBoolean; requestCache 1Lcom/groupbyinc/flux/indices/IndicesRequestCache; ?(Lcom/groupbyinc/flux/indices/fielddata/cache/IndicesFieldDataCache;Lcom/groupbyinc/flux/indices/IndicesRequestCache;Lorg/apache/logging/log4j/Logger;Lcom/groupbyinc/flux/threadpool/ThreadPool;Lcom/groupbyinc/flux/common/unit/TimeValue;)V ()V
! )java/util/concurrent/atomic/AtomicBoolean # (Z)V %
$ & ( * , . 0 2 this 9Lcom/groupbyinc/flux/indices/IndicesService$CacheCleaner; run java/lang/Exception 7 java/lang/System 9 nanoTime ()J ; <
: = org/apache/logging/log4j/Logger ? isTraceEnabled ()Z A B @ C )running periodic field data cache cleanup E trace (Ljava/lang/String;)V G H @ I Acom/groupbyinc/flux/indices/fielddata/cache/IndicesFieldDataCache K getCache *()Lcom/groupbyinc/flux/common/cache/Cache; M N
L O &com/groupbyinc/flux/common/cache/Cache Q refresh S
R T 3Exception during periodic field data cache cleanup: V warn *(Ljava/lang/String;Ljava/lang/Throwable;)V X Y @ Z =periodic field data cache cleanup finished in {} milliseconds \ )com/groupbyinc/flux/common/unit/TimeValue ^
nsecToMSec (J)J ` a
_ b java/lang/Long d valueOf (J)Ljava/lang/Long; f g
e h '(Ljava/lang/String;Ljava/lang/Object;)V G j @ k /com/groupbyinc/flux/indices/IndicesRequestCache m
cleanCache o
n p 0Exception during periodic request cache cleanup: r get t B
$ u same w schedule y(Lcom/groupbyinc/flux/common/unit/TimeValue;Ljava/lang/String;Ljava/lang/Runnable;)Ljava/util/concurrent/ScheduledFuture; y z
{ e Ljava/lang/Exception; startTimeNS J close
compareAndSet (ZZ)Z ? ?
$ ? Code LocalVariableTable LineNumberTable
StackMapTable
SourceFile InnerClasses 0 ? ? ,*? "*? $Y? '? )*+? +*,? -*-? /*? 1*? 3? ? > , 4 5 , , , , , ? " = : > ? @ A %B +C 6 ? 4 ?? >@*? /? D ? *? /F? J *? +? P? U? N*? /W-? [ *? /? D ? *? /]? >e? c? i? l *? -? q? N*? /s-? [ *? )? v? *? 1*? 3x*? |W? % ( 8 W ^ a 8 ? * ) } ~ b } ~ ? 4 5 ? ? ? B G H I L %O (M )N 5P AQ WU ^X aV bW nZ x[ ?] ? ? L 8!I 8 ? ? 9 *? )? ?W? ? 4 5 ?
a
b ? ?