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

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

There is a newer version: 198
Show newest version
????4?/com/groupbyinc/flux/indices/IndicesRequestCache?Lcom/groupbyinc/flux/common/component/AbstractComponent;Lcom/groupbyinc/flux/common/cache/RemovalListener;Ljava/io/Closeable;6com/groupbyinc/flux/common/component/AbstractComponent0com/groupbyinc/flux/common/cache/RemovalListenerjava/io/CloseableIndicesRequestCache.java1com/groupbyinc/flux/indices/IndicesRequestCache$1:com/groupbyinc/flux/indices/IndicesRequestCache$CleanupKey

CleanupKey3com/groupbyinc/flux/indices/IndicesRequestCache$KeyKey;com/groupbyinc/flux/indices/IndicesRequestCache$CacheEntityCacheEntity6com/groupbyinc/flux/indices/IndicesRequestCache$LoaderLoader4com/groupbyinc/flux/common/settings/Setting$Property+com/groupbyinc/flux/common/settings/SettingPropertyIcom/groupbyinc/flux/common/apache/lucene/index/IndexReader$ClosedListener:com/groupbyinc/flux/common/apache/lucene/index/IndexReader ClosedListener%java/lang/invoke/MethodHandles$Lookup#java/lang/invoke/MethodHandles%Lookup#INDEX_CACHE_REQUEST_ENABLED_SETTING-Lcom/groupbyinc/flux/common/settings/Setting;BLcom/groupbyinc/flux/common/settings/Setting;INDICES_CACHE_QUERY_SIZE^Lcom/groupbyinc/flux/common/settings/Setting;INDICES_CACHE_QUERY_EXPIREZLcom/groupbyinc/flux/common/settings/Setting;registeredClosedListeners$Ljava/util/concurrent/ConcurrentMap;uLjava/util/concurrent/ConcurrentMap;keysToCleanLjava/util/Set;MLjava/util/Set;size/Lcom/groupbyinc/flux/common/unit/ByteSizeValue;expire+Lcom/groupbyinc/flux/common/unit/TimeValue;cache(Lcom/groupbyinc/flux/common/cache/Cache;?Lcom/groupbyinc/flux/common/cache/Cache;1(Lcom/groupbyinc/flux/common/settings/Settings;)V<=
>@com/groupbyinc/flux/common/util/concurrent/ConcurrentCollections@newConcurrentMap&()Ljava/util/concurrent/ConcurrentMap;BC
AD/0	FnewConcurrentSet()Ljava/util/Set;HI
AJ23	L+)	NgetB(Lcom/groupbyinc/flux/common/settings/Settings;)Ljava/lang/Object;PQ
R-com/groupbyinc/flux/common/unit/ByteSizeValueT56	V-)	Xexists1(Lcom/groupbyinc/flux/common/settings/Settings;)ZZ[
\)com/groupbyinc/flux/common/unit/TimeValue^,com/groupbyinc/flux/common/settings/Settings`78	bgetBytes()Jde
Uf-com/groupbyinc/flux/common/cache/CacheBuilderhbuilder1()Lcom/groupbyinc/flux/common/cache/CacheBuilder;jk
ilsetMaximumWeight2(J)Lcom/groupbyinc/flux/common/cache/CacheBuilder;no
ip"java/lang/invoke/LambdaMetafactoryrmetafactory?(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;tu
svw'(Ljava/lang/Object;Ljava/lang/Object;)Jylambda$new$0i(Lcom/groupbyinc/flux/indices/IndicesRequestCache$Key;Lcom/groupbyinc/flux/common/bytes/BytesReference;)J{|
}~|applyAsLong'()Ljava/util/function/ToLongBiFunction;???weigherV(Ljava/util/function/ToLongBiFunction;)Lcom/groupbyinc/flux/common/cache/CacheBuilder;??
i?removalListenerc(Lcom/groupbyinc/flux/common/cache/RemovalListener;)Lcom/groupbyinc/flux/common/cache/CacheBuilder;??
i?setExpireAfterAccess\(Lcom/groupbyinc/flux/common/unit/TimeValue;)Lcom/groupbyinc/flux/common/cache/CacheBuilder;??
i?build*()Lcom/groupbyinc/flux/common/cache/Cache;??
i?9:	?this1Lcom/groupbyinc/flux/indices/IndicesRequestCache;settings.Lcom/groupbyinc/flux/common/settings/Settings;sizeInBytesJcacheBuilder?Lcom/groupbyinc/flux/common/cache/CacheBuilder;/Lcom/groupbyinc/flux/common/cache/CacheBuilder;close()V&com/groupbyinc/flux/common/cache/Cache?
invalidateAll??
??clear@(Lcom/groupbyinc/flux/indices/IndicesRequestCache$CacheEntity;)V?????????(Lcom/groupbyinc/flux/indices/IndicesRequestCache;Lcom/groupbyinc/flux/indices/IndicesRequestCache$CacheEntity;JLcom/groupbyinc/flux/indices/IndicesRequestCache$1;)V<?
?
java/util/Set?add(Ljava/lang/Object;)Z????
cleanCache??
?entity=Lcom/groupbyinc/flux/indices/IndicesRequestCache$CacheEntity;	onRemoval9(Lcom/groupbyinc/flux/common/cache/RemovalNotification;)V4com/groupbyinc/flux/common/cache/RemovalNotification?getKey()Ljava/lang/Object;??
????	????notification?Lcom/groupbyinc/flux/common/cache/RemovalNotification;6Lcom/groupbyinc/flux/common/cache/RemovalNotification;getOrCompute?(Lcom/groupbyinc/flux/indices/IndicesRequestCache$CacheEntity;Ljava/util/function/Supplier;Lcom/groupbyinc/flux/common/apache/lucene/index/DirectoryReader;Lcom/groupbyinc/flux/common/bytes/BytesReference;)Lcom/groupbyinc/flux/common/bytes/BytesReference;java/lang/Exception?>com/groupbyinc/flux/common/apache/lucene/index/DirectoryReader?
getVersion?e
??r(Lcom/groupbyinc/flux/indices/IndicesRequestCache$CacheEntity;JLcom/groupbyinc/flux/common/bytes/BytesReference;)V<?
?](Lcom/groupbyinc/flux/indices/IndicesRequestCache$CacheEntity;Ljava/util/function/Supplier;)V<?
?computeIfAbsentT(Ljava/lang/Object;Lcom/groupbyinc/flux/common/cache/CacheLoader;)Ljava/lang/Object;??
??/com/groupbyinc/flux/common/bytes/BytesReference?isLoaded()Z??
?onMiss???"java/util/concurrent/ConcurrentMap?containsKey????java/lang/Boolean?TRUELjava/lang/Boolean;??	??putIfAbsent8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;????Dcom/groupbyinc/flux/common/lucene/index/ElasticsearchDirectoryReader?addReaderCloseListener?(Lcom/groupbyinc/flux/common/apache/lucene/index/DirectoryReader;Lcom/groupbyinc/flux/common/apache/lucene/index/IndexReader$ClosedListener;)V??
??onHit???previous
cleanupKey;Ljava/util/function/Supplier;reader@Lcom/groupbyinc/flux/common/apache/lucene/index/DirectoryReader;cacheKey1Lcom/groupbyinc/flux/common/bytes/BytesReference;key5Lcom/groupbyinc/flux/indices/IndicesRequestCache$Key;cacheLoader8Lcom/groupbyinc/flux/indices/IndicesRequestCache$Loader;value
invalidate?(Lcom/groupbyinc/flux/indices/IndicesRequestCache$CacheEntity;Lcom/groupbyinc/flux/common/apache/lucene/index/DirectoryReader;Lcom/groupbyinc/flux/common/bytes/BytesReference;)V(Ljava/lang/Object;)V
?:com/groupbyinc/flux/common/carrotsearch/hppc/ObjectHashSet<?
6com/groupbyinc/flux/common/carrotsearch/hppc/ObjectSet??iterator()Ljava/util/Iterator;?java/util/IteratorhasNext? next"?#remove%?&
readerVersion(?	)	?isOpen,?-getCacheIdentity/?0?isEmpty3?4keys()Ljava/lang/Iterable;67
?8java/lang/Iterable:;contains=?>	)refreshA?
?BRLjava/util/Iterator;Ljava/util/Iterator;KLjava/util/Iterator;currentKeysToCleanvLcom/groupbyinc/flux/common/carrotsearch/hppc/ObjectSet;8Lcom/groupbyinc/flux/common/carrotsearch/hppc/ObjectSet;currentFullCleanLLcom/groupbyinc/flux/common/carrotsearch/hppc/ObjectSet;count()ILM
?NnumRegisteredCloseListeners5M?QramBytesUsedSe
T
?Tkv
access$100W(Lcom/groupbyinc/flux/indices/IndicesRequestCache;)Ljava/util/concurrent/ConcurrentMap;x0
access$200B(Lcom/groupbyinc/flux/indices/IndicesRequestCache;)Ljava/util/Set;index.requests.cache.enable_Dynamic6Lcom/groupbyinc/flux/common/settings/Setting$Property;ab	c
IndexScopeeb	fboolSettingy(Ljava/lang/String;Z[Lcom/groupbyinc/flux/common/settings/Setting$Property;)Lcom/groupbyinc/flux/common/settings/Setting;hi
j()	lindices.requests.cache.sizen1%p	NodeScoperb	smemorySizeSetting?(Ljava/lang/String;Ljava/lang/String;[Lcom/groupbyinc/flux/common/settings/Setting$Property;)Lcom/groupbyinc/flux/common/settings/Setting;uv
windices.requests.cache.expirey(J)V<{
_|positiveTimeSetting?(Ljava/lang/String;Lcom/groupbyinc/flux/common/unit/TimeValue;[Lcom/groupbyinc/flux/common/settings/Setting$Property;)Lcom/groupbyinc/flux/common/settings/Setting;~
?	SignatureCodeLocalVariableTableLocalVariableTypeTableLineNumberTable
StackMapTable?(Lcom/groupbyinc/flux/common/cache/RemovalNotification;)V
Exceptions1(Lcom/groupbyinc/flux/indices/IndicesRequestCache$CacheEntity;Ljava/util/function/Supplier;Lcom/groupbyinc/flux/common/apache/lucene/index/DirectoryReader;Lcom/groupbyinc/flux/common/bytes/BytesReference;)Lcom/groupbyinc/flux/common/bytes/BytesReference;BootstrapMethods
SourceFileInnerClasses1	()?*+)?,-)?./0?123?456789:?;
<=?-u*+??*?E?G*?K?M*?O+?S?U?W*?Y+?]??Y+?S?_??c*?W?gA?m ?q????*??:*?c?
*?c??W*??????*u??u??E0??Z???Z???2UNOV!W=XEYIZZ[a\k^t_?,?9a?a_?0i???6*?????????
cd???X*?M?Y*+?????W*?????????ghi???[+?????+????????????
mn?????e
??Y+-????:?Y+,??:*??????:???L?¹??Y*+-????:*?G???!*?G?????:		?	-???
?¹???f
n??	M,???????????yn	
+^???6
rst+u3v=xMy[zn{s|y|?????y?	????
?a*???Y+,??-?Ӷ??*?????
?? ?????Y?L?Y?M+?,?*?M?N-?!?M-?$?:-?'?*????+?.?,?+?1?2W?+?2W???+?5?,?5?e*???9?<N-?!?O-?$?:,?¹1???-?'?%+?Y*???@?????	-?'???*???C??H:<??&SE?>?UE????GI?JI?*&SD?UF?GH?JK?V!"#$%/&:'@(Y*m,v.y/?0?1?2?3?5?6?9?<?=?.
?&?2????/?!?LM?2*???O?????DPM?4
*?G?R??
???H
{|?>
*?U+?Va??
W
X?ZYZ?/*?G??[??@\]?/*?M??[??@^??|L`?Y?dSY?gS?k?moq?Y?tS?x?Oz?_Y	?}?Y?tS???Y??GHI*J0KELKK?xz???
?B
@!"	$&'




© 2015 - 2024 Weber Informatics LLC | Privacy Policy