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

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

There is a newer version: 129
Show newest version
????4?4com/groupbyinc/flux/indices/IndexingMemoryController6com/groupbyinc/flux/common/component/AbstractComponent9com/groupbyinc/flux/index/shard/IndexingOperationListenerjava/io/CloseableIndexingMemoryController.javaOcom/groupbyinc/flux/indices/IndexingMemoryController$ShardsIndicesStatusChecker
ShardsIndicesStatusCheckerFcom/groupbyinc/flux/indices/IndexingMemoryController$ShardAndBytesUsed
ShardAndBytesUsed6com/groupbyinc/flux/indices/IndexingMemoryController$15com/groupbyinc/flux/threadpool/ThreadPool$Cancellable)com/groupbyinc/flux/threadpool/ThreadPoolCancellable-com/groupbyinc/flux/index/engine/Engine$Index'com/groupbyinc/flux/index/engine/EngineIndex3com/groupbyinc/flux/index/engine/Engine$IndexResultIndexResult.com/groupbyinc/flux/index/engine/Engine$DeleteDelete4com/groupbyinc/flux/index/engine/Engine$DeleteResult"DeleteResult1com/groupbyinc/flux/index/engine/Engine$Operation%	Operation.com/groupbyinc/flux/index/engine/Engine$Result(Result/com/groupbyinc/flux/threadpool/ThreadPool$Names+Names4com/groupbyinc/flux/common/settings/Setting$Property.+com/groupbyinc/flux/common/settings/Setting0Property%java/lang/invoke/MethodHandles$Lookup3java/lang/invoke/MethodHandles5LookupINDEX_BUFFER_SIZE_SETTING-Lcom/groupbyinc/flux/common/settings/Setting;^Lcom/groupbyinc/flux/common/settings/Setting;MIN_INDEX_BUFFER_SIZE_SETTINGMAX_INDEX_BUFFER_SIZE_SETTINGSHARD_INACTIVE_TIME_SETTINGZLcom/groupbyinc/flux/common/settings/Setting;"SHARD_MEMORY_INTERVAL_TIME_SETTING
threadPool+Lcom/groupbyinc/flux/threadpool/ThreadPool;indexShardsLjava/lang/Iterable;BLjava/lang/Iterable;indexingBuffer/Lcom/groupbyinc/flux/common/unit/ByteSizeValue;inactiveTime+Lcom/groupbyinc/flux/common/unit/TimeValue;interval	throttledLjava/util/Set;=Ljava/util/Set;	scheduler7Lcom/groupbyinc/flux/threadpool/ThreadPool$Cancellable;CAN_WRITE_INDEX_BUFFER_STATESLjava/util/EnumSet;FLjava/util/EnumSet;
statusCheckerQLcom/groupbyinc/flux/indices/IndexingMemoryController$ShardsIndicesStatusChecker;p(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/threadpool/ThreadPool;Ljava/lang/Iterable;)V1(Lcom/groupbyinc/flux/common/settings/Settings;)VTV
Wjava/util/HashSetY()VT[
Z\JK	^BC	`89	bgetB(Lcom/groupbyinc/flux/common/settings/Settings;)Ljava/lang/Object;de
1f-com/groupbyinc/flux/common/unit/ByteSizeValuehgetKey()Ljava/lang/String;jk
1l,com/groupbyinc/flux/common/settings/Settingsn&(Ljava/lang/String;)Ljava/lang/String;dp
oq%sjava/lang/StringuendsWith(Ljava/lang/String;)Zwx
vyjava/lang/Iterable{;9	}settings.Lcom/groupbyinc/flux/common/settings/Settings;?	?<9	?getBytes()J??
i?????????EF	?=9	?)com/groupbyinc/flux/common/unit/TimeValue?GH	??9	?IH	?9(Lcom/groupbyinc/flux/indices/IndexingMemoryController;)VT?
?RS	?logger8Lcom/groupbyinc/flux/common/apache/logging/log4j/Logger;??	?5using indexing buffer size [{}] with {} [{}], {} [{}]?6com/groupbyinc/flux/common/apache/logging/log4j/Logger?debugo(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V????scheduleTaskd(Lcom/groupbyinc/flux/threadpool/ThreadPool;)Lcom/groupbyinc/flux/threadpool/ThreadPool$Cancellable;??
?MN	?@A	?minIndexingBuffermaxIndexingBufferthis6Lcom/groupbyinc/flux/indices/IndexingMemoryController;
indexServicesindexingBufferSettingLjava/lang/String;same?scheduleWithFixedDelay?(Ljava/lang/Runnable;Lcom/groupbyinc/flux/common/unit/TimeValue;Ljava/lang/String;)Lcom/groupbyinc/flux/threadpool/ThreadPool$Cancellable;??
?closecancel?[?indexingBufferSize1()Lcom/groupbyinc/flux/common/unit/ByteSizeValue;availableShards()Ljava/util/List;java/util/ArrayList?
?\iterator()Ljava/util/Iterator;??|?java/util/List?java/util/Iterator?hasNext()Z????next()Ljava/lang/Object;????*com/groupbyinc/flux/index/shard/IndexShard?canIndex??
??OP	?state3()Lcom/groupbyinc/flux/index/shard/IndexShardState;??
??java/util/EnumSet?contains(Ljava/lang/Object;)Z??
??add????shard,Lcom/groupbyinc/flux/index/shard/IndexShard;>Ljava/util/List;Ljava/util/List;getIndexBufferRAMBytesUsed/(Lcom/groupbyinc/flux/index/shard/IndexShard;)J??
??getShardWritingBytesgetWritingBytes??
??writeIndexingBufferAsync/(Lcom/groupbyinc/flux/index/shard/IndexShard;)Vrefresh?executor:(Ljava/lang/String;)Ljava/util/concurrent/ExecutorService;??
?e(Lcom/groupbyinc/flux/indices/IndexingMemoryController;Lcom/groupbyinc/flux/index/shard/IndexShard;)VT
$java/util/concurrent/ExecutorServiceexecute(Ljava/lang/Runnable;)V
forceCheckrun
[
activateThrottling
[
?deactivateThrottling[
?	postIndex?(Lcom/groupbyinc/flux/index/shard/ShardId;Lcom/groupbyinc/flux/index/engine/Engine$Index;Lcom/groupbyinc/flux/index/engine/Engine$IndexResult;)VrecordOperationBytesf(Lcom/groupbyinc/flux/index/engine/Engine$Operation;Lcom/groupbyinc/flux/index/engine/Engine$Result;)V
shardId)Lcom/groupbyinc/flux/index/shard/ShardId;index/Lcom/groupbyinc/flux/index/engine/Engine$Index;result5Lcom/groupbyinc/flux/index/engine/Engine$IndexResult;
postDelete?(Lcom/groupbyinc/flux/index/shard/ShardId;Lcom/groupbyinc/flux/index/engine/Engine$Delete;Lcom/groupbyinc/flux/index/engine/Engine$DeleteResult;)Vdelete0Lcom/groupbyinc/flux/index/engine/Engine$Delete;6Lcom/groupbyinc/flux/index/engine/Engine$DeleteResult;
hasFailure$?
)%estimatedSizeInBytes()I'(
&)bytesWritten(I)V+,
-	operation3Lcom/groupbyinc/flux/index/engine/Engine$Operation;0Lcom/groupbyinc/flux/index/engine/Engine$Result;	checkIdle0(Lcom/groupbyinc/flux/index/shard/IndexShard;J)VEcom/groupbyinc/flux/common/apache/lucene/store/AlreadyClosedException4(J)V26
?7"java/lang/invoke/LambdaMetafactory9metafactory?(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;;<
:=>?lambda$checkIdle$0@(Lcom/groupbyinc/flux/index/shard/IndexShard;)Ljava/lang/Object;AB
CDm(Lcom/groupbyinc/flux/index/shard/IndexShard;)Lcom/groupbyinc/flux/common/apache/logging/log4j/util/Supplier;dFGtraceW(Lcom/groupbyinc/flux/common/apache/logging/log4j/util/Supplier;Ljava/lang/Throwable;)VIJ?KeGLcom/groupbyinc/flux/common/apache/lucene/store/AlreadyClosedException;inactiveTimeNSJLcom/groupbyinc/flux/common/apache/logging/log4j/message/ParameterizedMessageQ7ignore exception while checking if shard {} is inactiveS+()Lcom/groupbyinc/flux/index/shard/ShardId;U
?V'(Ljava/lang/String;Ljava/lang/Object;)VTX
RY
access$000p(Lcom/groupbyinc/flux/indices/IndexingMemoryController;)Lcom/groupbyinc/flux/common/apache/logging/log4j/Logger;x0
access$100g(Lcom/groupbyinc/flux/indices/IndexingMemoryController;)Lcom/groupbyinc/flux/common/unit/ByteSizeValue;
access$200c(Lcom/groupbyinc/flux/indices/IndexingMemoryController;)Lcom/groupbyinc/flux/common/unit/TimeValue;
access$300
access$400
access$500
access$600
access$700
access$800
access$900access$1000G(Lcom/groupbyinc/flux/indices/IndexingMemoryController;)Ljava/util/Set;access$1100access$1200 indices.memory.index_buffer_sizen10%p	NodeScope6Lcom/groupbyinc/flux/common/settings/Setting$Property;rs	/tmemorySizeSetting?(Ljava/lang/String;Ljava/lang/String;[Lcom/groupbyinc/flux/common/settings/Setting$Property;)Lcom/groupbyinc/flux/common/settings/Setting;vw
1x$indices.memory.min_index_buffer_sizez0,com/groupbyinc/flux/common/unit/ByteSizeUnit~MB.Lcom/groupbyinc/flux/common/unit/ByteSizeUnit;??	?2(JLcom/groupbyinc/flux/common/unit/ByteSizeUnit;)VT?
i?BYTES??	????????byteSizeSetting(Ljava/lang/String;Lcom/groupbyinc/flux/common/unit/ByteSizeValue;Lcom/groupbyinc/flux/common/unit/ByteSizeValue;Lcom/groupbyinc/flux/common/unit/ByteSizeValue;[Lcom/groupbyinc/flux/common/settings/Setting$Property;)Lcom/groupbyinc/flux/common/settings/Setting;??
1?$indices.memory.max_index_buffer_size?T6
i?"indices.memory.shard_inactive_time?timeValueMinutes.(J)Lcom/groupbyinc/flux/common/unit/TimeValue;??
??positiveTimeSetting?(Ljava/lang/String;Lcom/groupbyinc/flux/common/unit/TimeValue;[Lcom/groupbyinc/flux/common/settings/Setting$Property;)Lcom/groupbyinc/flux/common/settings/Setting;??
1?indices.memory.interval?timeValueSeconds??
??/com/groupbyinc/flux/index/shard/IndexShardState?
RECOVERING1Lcom/groupbyinc/flux/index/shard/IndexShardState;??	??
POST_RECOVERY??	??STARTED??	??	RELOCATED??	??ofU(Ljava/lang/Enum;Ljava/lang/Enum;Ljava/lang/Enum;Ljava/lang/Enum;)Ljava/util/EnumSet;??
??	SignatureCodeLocalVariableTableLocalVariableTypeTableLineNumberTable
StackMapTable?(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/threadpool/ThreadPool;Ljava/lang/Iterable;)V@()Ljava/util/List;BootstrapMethods
SourceFileInnerClasses!89?:;9?:<9?:=9?>?9?>@ABC?DEFGHIHJK?LMNOP?QRSTU???*+?X*?ZY?]?_*-?a?c+?g?i:+?c?m?r:?
t?z?Q?~*???g?i:??*???g?i:??????:???????????:*??*??*???g????*??*???g????*?Y*????*???*?????m*?????m*????**,????*,????RK??FZ0?F??????@A??C!?EF-??????D?^bXce!g-i<kKlZmhnlp?q?t?v?x?z?|?~??|???????'?<o|iv?/ii??????C+*??*?????????@A???[?8
*??????
???
?	????/*????????????F??Y??L*?a??M,???,,????N-?ܙ??-???+-??W???+?? %??F??>???>?????%?9?A?D?????.??????9+????????????9+?????????????P*??????Y*+?????????
??	[?6*????????
??
??=+????????
????=+????????
???S*,-???*???
?? ?S*,-???*??!"#?
???b,?&?*??+?*?.?? ??/01?????23??+ ?8?:*??+?H?L?5?*
MN????OP????
???H5
AB?9?RYT*?W?Z??????[\?/*????]??4^_?/*????]??4`a?/*????]??4b\?/*????]??4c\?/*????]??4d\?/*????]??4e\?/*????]??4f\?/*????]??4g\?/*????]??4h\?/*????]??4ij?/*?_??]??4k\?/*????]??4l\?/*????]??4m[???oq?/Y?uS?y?c{?iY|?????iY	?????iY??????/Y?uS???~??iY????iY????iY??????/Y?uS?????????/Y?uS?????????/Y?uS???????????????ޱ?78;NB?I?L?\??@E@?	?j
			 !	#$	&'	)*	,-	/12@467




© 2015 - 2025 Weber Informatics LLC | Privacy Policy