All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.groupbyinc.flux.indices.IndicesQueryCache.class Maven / Gradle / Ivy

There is a newer version: 59
Show newest version
????4u-com/groupbyinc/flux/indices/IndicesQueryCache6com/groupbyinc/flux/common/component/AbstractComponent:com/groupbyinc/flux/common/apache/lucene/search/QueryCachejava/io/CloseableIndicesQueryCache.java/com/groupbyinc/flux/indices/IndicesQueryCache$1
Hcom/groupbyinc/flux/indices/IndicesQueryCache$ElasticsearchLRUQueryCacheElasticsearchLRUQueryCache;com/groupbyinc/flux/indices/IndicesQueryCache$StatsAndCount
StatsAndCount3com/groupbyinc/flux/indices/IndicesQueryCache$StatsStatsBcom/groupbyinc/flux/indices/IndicesQueryCache$CachingWeightWrapperCachingWeightWrapperjava/util/Map$Entry
java/util/MapEntry4com/groupbyinc/flux/common/settings/Setting$Property+com/groupbyinc/flux/common/settings/SettingProperty%java/lang/invoke/MethodHandles$Lookup"java/lang/invoke/MethodHandles$Lookup INDICES_CACHE_QUERY_SIZE_SETTING-Lcom/groupbyinc/flux/common/settings/Setting;^Lcom/groupbyinc/flux/common/settings/Setting;!INDICES_CACHE_QUERY_COUNT_SETTINGBLcom/groupbyinc/flux/common/settings/Setting;*INDICES_QUERIES_CACHE_ALL_SEGMENTS_SETTINGBLcom/groupbyinc/flux/common/settings/Setting;cache?Lcom/groupbyinc/flux/common/apache/lucene/search/LRUQueryCache;shardKeyMap3Lcom/groupbyinc/flux/common/lucene/ShardCoreKeyMap;
shardStatsLjava/util/Map;oLjava/util/Map;sharedRamBytesUsedJstats2`Ljava/util/Map;$assertionsDisabledZ1(Lcom/groupbyinc/flux/common/settings/Settings;)V;<
=1com/groupbyinc/flux/common/lucene/ShardCoreKeyMap?()V;A
@B01	D&java/util/concurrent/ConcurrentHashMapF
GB23	Ijava/util/IdentityHashMapK
LB73	N'(	PgetB(Lcom/groupbyinc/flux/common/settings/Settings;)Ljava/lang/Object;RS
 T-com/groupbyinc/flux/common/unit/ByteSizeValueV*(	Xjava/lang/IntegerZintValue()I\]
[^logger!Lorg/apache/logging/log4j/Logger;`a	b=using [node] query cache with size [{}] max filter count [{}]dvalueOf(I)Ljava/lang/Integer;fg
[horg/apache/logging/log4j/Loggerjdebug9(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)Vlmkn,(	pjava/lang/BooleanrbooleanValue()Ztu
svgetBytes()Jxy
Wz"java/lang/invoke/LambdaMetafactory|metafactory?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;~
}??(Ljava/lang/Object;)Z?lambda$new$0E(Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReaderContext;)Z??
???test ()Ljava/util/function/Predicate;???R(Lcom/groupbyinc/flux/indices/IndicesQueryCache;IJLjava/util/function/Predicate;)V;?

?./	?,com/groupbyinc/flux/common/settings/Settings?4(Lcom/groupbyinc/flux/indices/IndicesQueryCache;IJ)V;?

?56	?this/Lcom/groupbyinc/flux/indices/IndicesQueryCache;settings.Lcom/groupbyinc/flux/common/settings/Settings;size/Lcom/groupbyinc/flux/common/unit/ByteSizeValue;countIgetStatsb(Lcom/groupbyinc/flux/index/shard/ShardId;)Lcom/groupbyinc/flux/index/cache/query/QueryCacheStats;java/util/HashMap?
?BentrySet()Ljava/util/Set;???
java/util/Set?iterator()Ljava/util/Iterator;????java/util/Iterator?hasNext?u??next()Ljava/lang/Object;????getKey???'com/groupbyinc/flux/index/shard/ShardId?getValue???toQueryCacheStats9()Lcom/groupbyinc/flux/index/cache/query/QueryCacheStats;??
?put8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;???5com/groupbyinc/flux/index/cache/query/QueryCacheStats?
?B&(Ljava/lang/Object;)Ljava/lang/Object;R??add:(Lcom/groupbyinc/flux/index/cache/query/QueryCacheStats;)V??
??values()Ljava/util/Collection;???java/util/Collection???getCacheSize?y
???]?java/lang/Math?round(D)J??
??(JJJJJ)V;?
??entryuLjava/util/Map$Entry;Ljava/util/Map$Entry;s7Lcom/groupbyinc/flux/index/cache/query/QueryCacheStats;shard)Lcom/groupbyinc/flux/index/shard/ShardId;statsqLjava/util/Map;info	totalSizeweightDadditionalRamBytesUseddoCache?(Lcom/groupbyinc/flux/common/apache/lucene/search/Weight;Lcom/groupbyinc/flux/common/apache/lucene/search/QueryCachingPolicy;)Lcom/groupbyinc/flux/common/apache/lucene/search/Weight;
access$000~(Lcom/groupbyinc/flux/indices/IndicesQueryCache$CachingWeightWrapper;)Lcom/groupbyinc/flux/common/apache/lucene/search/Weight;??
?=com/groupbyinc/flux/common/apache/lucene/search/LRUQueryCache???
?j(Lcom/groupbyinc/flux/indices/IndicesQueryCache;Lcom/groupbyinc/flux/common/apache/lucene/search/Weight;)V;
8Lcom/groupbyinc/flux/common/apache/lucene/search/Weight;policyDLcom/groupbyinc/flux/common/apache/lucene/search/QueryCachingPolicy;in
clearIndex(Ljava/lang/String;)VgetCoreKeysForIndex#(Ljava/lang/String;)Ljava/util/Set;
@
clearCoreCacheKey(Ljava/lang/Object;)V
?
??clearA
?coreKeyLjava/lang/Object;indexLjava/lang/String;
coreCacheKeys#Ljava/util/Set;Ljava/util/Set;close9:	
@?java/lang/AssertionError"(I)V;$
#%isEmpty'u(keySet*?+;
#-empty8(Lcom/groupbyinc/flux/indices/IndicesQueryCache$Stats;)Z	cacheSize16	2ramBytesUsed46	55Lcom/groupbyinc/flux/indices/IndicesQueryCache$Stats;onClose,(Lcom/groupbyinc/flux/index/shard/ShardId;)V/0
:
#Bremove=?>shardIdcontextBLcom/groupbyinc/flux/common/apache/lucene/index/LeafReaderContext;
access$100d(Lcom/groupbyinc/flux/indices/IndicesQueryCache;)Lcom/groupbyinc/flux/common/lucene/ShardCoreKeyMap;x0
access$200@(Lcom/groupbyinc/flux/indices/IndicesQueryCache;)Ljava/util/Map;
access$4023(Lcom/groupbyinc/flux/indices/IndicesQueryCache;J)Jx1
access$414
access$422
access$500java/lang/ClassOdesiredAssertionStatusQu
PRindices.queries.cache.sizeT10%V	NodeScope6Lcom/groupbyinc/flux/common/settings/Setting$Property;XY	ZmemorySizeSetting?(Ljava/lang/String;Ljava/lang/String;[Lcom/groupbyinc/flux/common/settings/Setting$Property;)Lcom/groupbyinc/flux/common/settings/Setting;\]
 ^indices.queries.cache.count`
intSettingz(Ljava/lang/String;II[Lcom/groupbyinc/flux/common/settings/Setting$Property;)Lcom/groupbyinc/flux/common/settings/Setting;bc
 d"indices.queries.cache.all_segmentsfboolSettingy(Ljava/lang/String;Z[Lcom/groupbyinc/flux/common/settings/Setting$Property;)Lcom/groupbyinc/flux/common/settings/Setting;hi
 j	SignatureCodeLocalVariableTableLineNumberTable
StackMapTableLocalVariableTypeTableBootstrapMethods
SourceFileInnerClasses!	'(l)*(l+,(l-./0123l4B5673l89:;<m%?*+?>*?@Y?C?E*?GY?H?J*?LY?M?O?Q+?U?WM?Y+?U?[?_>*?ce,?i?o?q+?U?s?w?*?
Y*,?{???????*?
Y*,?{????*	???n*??????1^???P??o:J@AG&K1L?MGNJMOO_PxR?T?Up?x?W??m?
??Y??M*?J????N-???/-???:,????????ƹ?W??λ?Y??N,+????:???Y??:-??	7,????:???????:??a7???	??,???o?-?ފ?o9*???k??7	-??Y					???-?nf
+???
??????????3T?2?`???wn?6? ????6	q+?????oNYZ+[I\L]T^`_e`nbtfwg?h?i?j?k?l?m?n?op$???4?!?????"H??m?&+??+???L???*??+,?N?Y*-??n*&??&?&
otuwzp	
m?A*?E+?M,??N-???-??:*??????*???	??
*????n*!	A??A	8q	8o?	?!?*?-?9?@?p????Am?h? ?*?E?!??#Y*?E?!?&?? ? *?J?)??#Y*?J?,?.?? ?*?O?)??#Y*?O?.?*????nh??o??B?`?g?p"/0mf+??+?3	??+?6	????n???7o???p@89ms.? ?**?J+????;??#Y?




© 2015 - 2025 Weber Informatics LLC | Privacy Policy