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

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

There is a newer version: 59
Show newest version
????3K=com/groupbyinc/flux/indices/cache/request/IndicesRequestCacheLcom/groupbyinc/flux/common/component/AbstractComponent;Lcom/groupbyinc/flux/common/google/common/cache/RemovalListener;6com/groupbyinc/flux/common/component/AbstractComponent>com/groupbyinc/flux/common/google/common/cache/RemovalListenerIndicesRequestCache.java?com/groupbyinc/flux/indices/cache/request/IndicesRequestCache$1	Dcom/groupbyinc/flux/indices/cache/request/IndicesRequestCache$ReaperReaperHcom/groupbyinc/flux/indices/cache/request/IndicesRequestCache$CleanupKey
CleanupKeyAcom/groupbyinc/flux/indices/cache/request/IndicesRequestCache$KeyKeyCcom/groupbyinc/flux/indices/cache/request/IndicesRequestCache$ValueValueDcom/groupbyinc/flux/indices/cache/request/IndicesRequestCache$LoaderLoaderOcom/groupbyinc/flux/indices/cache/request/IndicesRequestCache$QueryCacheWeigherQueryCacheWeigher/com/groupbyinc/flux/threadpool/ThreadPool$Names)com/groupbyinc/flux/threadpool/ThreadPoolNamesOcom/groupbyinc/flux/common/apache/lucene/index/IndexReader$ReaderClosedListener":com/groupbyinc/flux/common/apache/lucene/index/IndexReader$ReaderClosedListenerINDEX_CACHE_REQUEST_ENABLEDLjava/lang/String;index.requests.cache.enable)&DEPRECATED_INDEX_CACHE_REQUEST_ENABLEDindex.cache.query.enable,Ljava/lang/Deprecated;$INDICES_CACHE_REQUEST_CLEAN_INTERVAL%indices.requests.cache.clean_interval0INDICES_CACHE_QUERY_SIZEindices.requests.cache.size3#DEPRECATED_INDICES_CACHE_QUERY_SIZEindices.cache.query.size6INDICES_CACHE_QUERY_EXPIREindices.requests.cache.expire9%INDICES_CACHE_QUERY_CONCURRENCY_LEVEL(indices.requests.cache.concurrency_level<CACHEABLE_SEARCH_TYPESLjava/util/Set;?Ljava/util/Set;
threadPool+Lcom/groupbyinc/flux/threadpool/ThreadPool;clusterService,Lcom/groupbyinc/flux/cluster/ClusterService;
cleanInterval+Lcom/groupbyinc/flux/common/unit/TimeValue;reaperFLcom/groupbyinc/flux/indices/cache/request/IndicesRequestCache$Reaper;registeredClosedListeners$Ljava/util/concurrent/ConcurrentMap;?Ljava/util/concurrent/ConcurrentMap;keysToClean[Ljava/util/Set;sizeexpireconcurrencyLevelIcache6Lcom/groupbyinc/flux/common/google/common/cache/Cache;?Lcom/groupbyinc/flux/common/google/common/cache/Cache;$assertionsDisabledZ?(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/cluster/ClusterService;Lcom/groupbyinc/flux/threadpool/ThreadPool;)V*Lcom/groupbyinc/flux/common/inject/Inject;1(Lcom/groupbyinc/flux/common/settings/Settings;)VWZ
[@com/groupbyinc/flux/common/util/concurrent/ConcurrentCollections]newConcurrentMap&()Ljava/util/concurrent/ConcurrentMap;_`
^aIJ	cnewConcurrentSet()Ljava/util/Set;ef
^gL?	iCD	kAB	m<)com/groupbyinc/flux/common/unit/TimeValueqtimeValueSeconds.(J)Lcom/groupbyinc/flux/common/unit/TimeValue;st
ru,com/groupbyinc/flux/common/settings/Settingsw	getAsTimej(Ljava/lang/String;Lcom/groupbyinc/flux/common/unit/TimeValue;)Lcom/groupbyinc/flux/common/unit/TimeValue;yz
x{EF	}get&(Ljava/lang/String;)Ljava/lang/String;?
x?deprecationLogger6Lcom/groupbyinc/flux/common/logging/DeprecationLogger;??	?dThe [indices.cache.query.size] settings is now deprecated, use [indices.requests.cache.size] instead?java/lang/Object?4com/groupbyinc/flux/common/logging/DeprecationLogger?
deprecated((Ljava/lang/String;[Ljava/lang/Object;)V??
??*com/groupbyinc/flux/cluster/ClusterService?java/lang/String?1%?N(	?OF	?java/lang/Integer?valueOf(I)Ljava/lang/Integer;??
??getAsInt:(Ljava/lang/String;Ljava/lang/Integer;)Ljava/lang/Integer;??
x?intValue()I??
??PQ	?"java/lang/IllegalArgumentException?java/lang/StringBuilder?()VW?
??'concurrency_level must be > 0 but was: ?append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??(I)Ljava/lang/StringBuilder;??
??toString()Ljava/lang/String;??
??(Ljava/lang/String;)VW?
??
buildCache??
??(Lcom/groupbyinc/flux/indices/cache/request/IndicesRequestCache;Lcom/groupbyinc/flux/indices/cache/request/IndicesRequestCache$1;)VW?
?GH	?same?scheduley(Lcom/groupbyinc/flux/common/unit/TimeValue;Ljava/lang/String;Ljava/lang/Runnable;)Ljava/util/concurrent/ScheduledFuture;??
 ?this?Lcom/groupbyinc/flux/indices/cache/request/IndicesRequestCache;settings.Lcom/groupbyinc/flux/common/settings/Settings;isCacheEnabled2(Lcom/groupbyinc/flux/common/settings/Settings;Z)ZgetAsBoolean:(Ljava/lang/String;Ljava/lang/Boolean;)Ljava/lang/Boolean;??
x?dThe [index.cache.query.enable] settings is now deprecated, use [index.requests.cache.enable] instead?java/lang/Boolean?(Z)Ljava/lang/Boolean;??
??booleanValue()Z??
??
defaultEnableenableLjava/lang/Boolean;/com/groupbyinc/flux/common/unit/MemorySizeValue?parseBytesSizeValueOrHeapRatioU(Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/common/unit/ByteSizeValue;??
??-com/groupbyinc/flux/common/unit/ByteSizeValue?bytes()J??
??;com/groupbyinc/flux/common/google/common/cache/CacheBuilder?
newBuilder?()Lcom/groupbyinc/flux/common/google/common/cache/CacheBuilder;??
??
maximumWeight@(J)Lcom/groupbyinc/flux/common/google/common/cache/CacheBuilder;??
??D(Lcom/groupbyinc/flux/indices/cache/request/IndicesRequestCache$1;)VW?
?weigherw(Lcom/groupbyinc/flux/common/google/common/cache/Weigher;)Lcom/groupbyinc/flux/common/google/common/cache/CacheBuilder;
?removalListener(Lcom/groupbyinc/flux/common/google/common/cache/RemovalListener;)Lcom/groupbyinc/flux/common/google/common/cache/CacheBuilder;
?@(I)Lcom/groupbyinc/flux/common/google/common/cache/CacheBuilder;P	
?
millis?
r
java/util/concurrent/TimeUnitMILLISECONDSLjava/util/concurrent/TimeUnit;	expireAfterAccess_(JLjava/util/concurrent/TimeUnit;)Lcom/groupbyinc/flux/common/google/common/cache/CacheBuilder;
?build8()Lcom/groupbyinc/flux/common/google/common/cache/Cache;
?RS	sizeInBytesJcacheBuilder?Lcom/groupbyinc/flux/common/google/common/cache/CacheBuilder;=Lcom/groupbyinc/flux/common/google/common/cache/CacheBuilder;close$?
%4com/groupbyinc/flux/common/google/common/cache/Cache'
invalidateAll)?(*clear/(Lcom/groupbyinc/flux/index/shard/IndexShard;)V?????????(Lcom/groupbyinc/flux/indices/cache/request/IndicesRequestCache;Lcom/groupbyinc/flux/index/shard/IndexShard;JLcom/groupbyinc/flux/indices/cache/request/IndicesRequestCache$1;)VW0
1
java/util/Set3add(Ljava/lang/Object;)Z5647logger-Lcom/groupbyinc/flux/common/logging/ESLogger;9:	;{} explicit cache clear=*com/groupbyinc/flux/index/shard/IndexShard?shardId+()Lcom/groupbyinc/flux/index/shard/ShardId;AB
@C+com/groupbyinc/flux/common/logging/ESLoggerEtraceG?FHreapJ?
Kshard,Lcom/groupbyinc/flux/index/shard/IndexShard;	onRemovalG(Lcom/groupbyinc/flux/common/google/common/cache/RemovalNotification;)VBcom/groupbyinc/flux/common/google/common/cache/RemovalNotificationQgetKey()Ljava/lang/Object;ST
RUMN	WrequestCache=()Lcom/groupbyinc/flux/index/cache/request/ShardRequestCache;YZ
@[9com/groupbyinc/flux/index/cache/request/ShardRequestCache]OP
^_notification?Lcom/groupbyinc/flux/common/google/common/cache/RemovalNotification;DLcom/groupbyinc/flux/common/google/common/cache/RemovalNotification;canCachen(Lcom/groupbyinc/flux/search/internal/ShardSearchRequest;Lcom/groupbyinc/flux/search/internal/SearchContext;)Z6com/groupbyinc/flux/search/internal/ShardSearchRequestftemplateSource3()Lcom/groupbyinc/flux/common/bytes/BytesReference;higj"com/groupbyinc/flux/common/Stringsl	hasLength4(Lcom/groupbyinc/flux/common/bytes/BytesReference;)Zno
mp1com/groupbyinc/flux/search/internal/SearchContextrN?
st>?	v
searchType0()Lcom/groupbyinc/flux/action/search/SearchType;xy
szcontains|64}state,()Lcom/groupbyinc/flux/cluster/ClusterState;???(com/groupbyinc/flux/cluster/ClusterState?getMetaData1()Lcom/groupbyinc/flux/cluster/metadata/MetaData;??
??index??g?-com/groupbyinc/flux/cluster/metadata/MetaData?H(Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData;??
??2com/groupbyinc/flux/cluster/metadata/IndexMetaData?()Ljava/lang/Boolean;Y?g?getSettings0()Lcom/groupbyinc/flux/common/settings/Settings;??
??FALSE??	????
?searcher<()Lcom/groupbyinc/flux/search/internal/ContextIndexSearcher;??
s?8com/groupbyinc/flux/search/internal/ContextIndexSearcher?getIndexReader>()Lcom/groupbyinc/flux/common/apache/lucene/index/IndexReader;??
??>com/groupbyinc/flux/common/apache/lucene/index/DirectoryReader?nowInMillisUsed??
s?request8Lcom/groupbyinc/flux/search/internal/ShardSearchRequest;context3Lcom/groupbyinc/flux/search/internal/SearchContext;4Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData;loadIntoContext?(Lcom/groupbyinc/flux/search/internal/ShardSearchRequest;Lcom/groupbyinc/flux/search/internal/SearchContext;Lcom/groupbyinc/flux/search/query/QueryPhase;)Vjava/lang/Exception?UV	?de
?java/lang/AssertionError?
??buildKey?(Lcom/groupbyinc/flux/search/internal/ShardSearchRequest;Lcom/groupbyinc/flux/search/internal/SearchContext;)Lcom/groupbyinc/flux/indices/cache/request/IndicesRequestCache$Key;??
??(Lcom/groupbyinc/flux/search/query/QueryPhase;Lcom/groupbyinc/flux/search/internal/SearchContext;Lcom/groupbyinc/flux/indices/cache/request/IndicesRequestCache$Key;)VW?
?E(Ljava/lang/Object;Ljava/util/concurrent/Callable;)Ljava/lang/Object;?(?isLoaded??
?onMiss??
^?
indexShard.()Lcom/groupbyinc/flux/index/shard/IndexShard;??
s?
getVersion??
??"java/util/concurrent/ConcurrentMap?containsKey?6??TRUE??	??putIfAbsent8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;????getDirectoryReaderB()Lcom/groupbyinc/flux/common/apache/lucene/index/DirectoryReader;??
??Dcom/groupbyinc/flux/common/lucene/index/ElasticsearchDirectoryReader?addReaderCloseListener?(Lcom/groupbyinc/flux/common/apache/lucene/index/DirectoryReader;Lcom/groupbyinc/flux/common/apache/lucene/index/IndexReader$ReaderClosedListener;)V??
??onHit??
^?queryResult6()Lcom/groupbyinc/flux/search/query/QuerySearchResult;??
s?id??
s?	reference1Lcom/groupbyinc/flux/common/bytes/BytesReference;??	?/com/groupbyinc/flux/common/bytes/BytesReference?streamInput4()Lcom/groupbyinc/flux/common/io/stream/StreamInput;????2com/groupbyinc/flux/search/query/QuerySearchResult?readFromWithId6(JLcom/groupbyinc/flux/common/io/stream/StreamInput;)V
shardTarget0()Lcom/groupbyinc/flux/search/SearchShardTarget;
s1(Lcom/groupbyinc/flux/search/SearchShardTarget;)V	

previous
cleanupKeyJLcom/groupbyinc/flux/indices/cache/request/IndicesRequestCache$CleanupKey;result4Lcom/groupbyinc/flux/search/query/QuerySearchResult;
queryPhase-Lcom/groupbyinc/flux/search/query/QueryPhase;keyCLcom/groupbyinc/flux/indices/cache/request/IndicesRequestCache$Key;loaderFLcom/groupbyinc/flux/indices/cache/request/IndicesRequestCache$Loader;valueELcom/groupbyinc/flux/indices/cache/request/IndicesRequestCache$Value;cacheKeyiga(Lcom/groupbyinc/flux/index/shard/IndexShard;JLcom/groupbyinc/flux/common/bytes/BytesReference;)VW

access$400l(Lcom/groupbyinc/flux/indices/cache/request/IndicesRequestCache;)Lcom/groupbyinc/flux/threadpool/ThreadPool;x0
access$500n(Lcom/groupbyinc/flux/indices/cache/request/IndicesRequestCache;)Lcom/groupbyinc/flux/common/logging/ESLogger;
access$600l(Lcom/groupbyinc/flux/indices/cache/request/IndicesRequestCache;)Lcom/groupbyinc/flux/common/unit/TimeValue;
access$700
access$800w(Lcom/groupbyinc/flux/indices/cache/request/IndicesRequestCache;)Lcom/groupbyinc/flux/common/google/common/cache/Cache;java/lang/Class*desiredAssertionStatus,?
+-,com/groupbyinc/flux/action/search/SearchType/QUERY_THEN_FETCH.Lcom/groupbyinc/flux/action/search/SearchType;12	03QUERY_AND_FETCH52	06java/util/EnumSet8of5(Ljava/lang/Enum;Ljava/lang/Enum;)Ljava/util/EnumSet;:;
9<
ConstantValue
DeprecatedRuntimeVisibleAnnotations	SignatureCodeLocalVariableTableLineNumberTable
StackMapTableLocalVariableTypeTable?(Lcom/groupbyinc/flux/common/google/common/cache/RemovalNotification;)V
Exceptions
SourceFileInnerClasses!'(>*+(>-?@./(>12(>45(>7?@.8(>:;(>=>?A@ABCDEFGHIJAKL?AMN(OFPQBRSATUVWXB??*+?\*?b?d*?h?j*,?l*-?n*+1o?v?|?~+4??:?+7??:?*?????????:*??*+:?|??*+=????????*???!??Y??Y?????*?????????*??*?Y*?ǵ?-*?~?*?ɶ?W?C4???????CD?AB5?N(DZuhivwx-z5{:|B}G~T?Y?]?c?n?????????????E?Tx? ??G@Y??B?3+*??N-?+-??N-?*???????-???N-??C*3??3??3?V+??D"?????%?)?.?E	?%???B?L*??4????@?????Y??*?N-*???W*???-*?????W*-???C L??
? $(!#F$(!"D"?
??$?-?4?C?K?E	?C?$?BC*?ɶ&*??+?C??D???,-B?;+??*?j?Y*+.?2?8W*?<>??Y+?DS?I*?ɶL?C;??;MND????3?:?EOPBu+?V??+?V??X?\+?`?C??acFabD????EAGdeB-?+?k?q??,?u???w,?{?~??*?l????+????N-??+???*-?????????+?????,????????,?????C*?????????>J??DN?????&?(?>?B?D?M?^?`?l?n?{?}?????E??
??B?	ϲ??*+,?????Y???+,??:?Y-,??:*????:?ʙ_?X?\?ͻY*,??,?????????2:*?d???'*?d?ܹ???:?,??????0?X?\??,??:,???????,???Cf
??l2
????????????+?=?DF+=E	Plz
????????E??,H?
??B[?Y+??+????????*???C????D?	??H? B/*?n?C!?DO"#B/*?




© 2015 - 2025 Weber Informatics LLC | Privacy Policy