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

com.groupbyinc.flux.index.reindex.AbstractBaseReindexRestHandler.class Maven / Gradle / Ivy

There is a newer version: 129
Show newest version
????4j@com/groupbyinc/flux/index/reindex/AbstractBaseReindexRestHandler?;A:Lcom/groupbyinc/flux/action/GenericAction;>Lcom/groupbyinc/flux/rest/BaseRestHandler;(com/groupbyinc/flux/rest/BaseRestHandler#AbstractBaseReindexRestHandler.java[(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/action/GenericAction;)V1(Lcom/groupbyinc/flux/common/settings/Settings;)V
	thisPLcom/groupbyinc/flux/index/reindex/AbstractBaseReindexRestHandler;BLcom/groupbyinc/flux/index/reindex/AbstractBaseReindexRestHandler;settings.Lcom/groupbyinc/flux/common/settings/Settings;doPrepareRequest?(Lcom/groupbyinc/flux/rest/RestRequest;Lcom/groupbyinc/flux/client/node/NodeClient;ZZ)Lcom/groupbyinc/flux/rest/BaseRestHandler$RestChannelConsumer;java/io/IOException'buildRequestg(Lcom/groupbyinc/flux/rest/RestRequest;)Lcom/groupbyinc/flux/index/reindex/AbstractBulkByScrollRequest;)*
+setCommonOptions?(Lcom/groupbyinc/flux/rest/RestRequest;Lcom/groupbyinc/flux/index/reindex/AbstractBulkByScrollRequest;)Lcom/groupbyinc/flux/index/reindex/AbstractBulkByScrollRequest;-.
/wait_for_completion1$com/groupbyinc/flux/rest/RestRequest3paramAsBoolean(Ljava/lang/String;Z)Z56
47java/util/HashMap9()V;
:<include_created>java/lang/Boolean@toString(Z)Ljava/lang/String;BC
AD
java/util/MapFput8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;HIGJinclude_updatedL"java/lang/invoke/LambdaMetafactoryNmetafactory?(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;PQ
ORS(Ljava/lang/Object;)VUlambda$doPrepareRequest$0?(Lcom/groupbyinc/flux/client/node/NodeClient;Lcom/groupbyinc/flux/index/reindex/AbstractBulkByScrollRequest;Ljava/util/Map;Lcom/groupbyinc/flux/rest/RestChannel;)VWX
YZ)(Lcom/groupbyinc/flux/rest/RestChannel;)V\accept?(Lcom/groupbyinc/flux/index/reindex/AbstractBaseReindexRestHandler;Lcom/groupbyinc/flux/client/node/NodeClient;Lcom/groupbyinc/flux/index/reindex/AbstractBulkByScrollRequest;Ljava/util/Map;)Lcom/groupbyinc/flux/rest/BaseRestHandler$RestChannelConsumer;^_`=com/groupbyinc/flux/index/reindex/AbstractBulkByScrollRequestbsetShouldStoreResultB(Z)Lcom/groupbyinc/flux/index/reindex/AbstractBulkByScrollRequest;de
cfvalidate?()Lcom/groupbyinc/flux/action/ActionRequestValidationException;hi
cj;com/groupbyinc/flux/action/ActionRequestValidationExceptionl*com/groupbyinc/flux/client/node/NodeClientngetLocalNodeId()Ljava/lang/String;pq
or-com/groupbyinc/flux/tasks/LoggingTaskListenertinstance*()Lcom/groupbyinc/flux/tasks/TaskListener;vw
uxexecuteLocally?(Lcom/groupbyinc/flux/action/GenericAction;Lcom/groupbyinc/flux/action/ActionRequest;Lcom/groupbyinc/flux/tasks/TaskListener;)Lcom/groupbyinc/flux/tasks/Task;z{
o|sendTaskr(Ljava/lang/String;Lcom/groupbyinc/flux/tasks/Task;)Lcom/groupbyinc/flux/rest/BaseRestHandler$RestChannelConsumer;~
?params5Ljava/util/Map;Ljava/util/Map;request&Lcom/groupbyinc/flux/rest/RestRequest;client,Lcom/groupbyinc/flux/client/node/NodeClient;includeCreatedincludeUpdatedinternal	TRequest;?Lcom/groupbyinc/flux/index/reindex/AbstractBulkByScrollRequest;validationException=Lcom/groupbyinc/flux/action/ActionRequestValidationException;	?java/lang/AssertionError?RestRequest should not be null?U
??Request should not be null?refresh?	isRefresh()Z??
c?
setRefresh?e
c?timeout?
getTimeout-()Lcom/groupbyinc/flux/common/unit/TimeValue;??
c?paramAsTimej(Ljava/lang/String;Lcom/groupbyinc/flux/common/unit/TimeValue;)Lcom/groupbyinc/flux/common/unit/TimeValue;??
4?
setTimeoutl(Lcom/groupbyinc/flux/common/unit/TimeValue;)Lcom/groupbyinc/flux/index/reindex/AbstractBulkByScrollRequest;??
c?slices?	getSlices()I??
c?
paramAsInt(Ljava/lang/String;I)I??
4?	setSlicesB(I)Lcom/groupbyinc/flux/index/reindex/AbstractBulkByScrollRequest;??
c?wait_for_active_shards?param&(Ljava/lang/String;)Ljava/lang/String;??
4?3com/groupbyinc/flux/action/support/ActiveShardCount?parseStringI(Ljava/lang/String;)Lcom/groupbyinc/flux/action/support/ActiveShardCount;??
??setWaitForActiveShardsv(Lcom/groupbyinc/flux/action/support/ActiveShardCount;)Lcom/groupbyinc/flux/index/reindex/AbstractBulkByScrollRequest;??
c?java/lang/String?parseRequestsPerSecond9(Lcom/groupbyinc/flux/rest/RestRequest;)Ljava/lang/Float;??
?java/lang/Float?
floatValue()F??
??setRequestsPerSecondB(F)Lcom/groupbyinc/flux/index/reindex/AbstractBulkByScrollRequest;??
c?restRequestwaitForActiveShardsLjava/lang/String;requestsPerSecondLjava/lang/Float;lambda$sendTask$1[(Ljava/lang/String;Lcom/groupbyinc/flux/tasks/Task;Lcom/groupbyinc/flux/rest/RestChannel;)V??
??^?localNodeIdtask Lcom/groupbyinc/flux/tasks/Task;java/lang/NumberFormatException?requests_per_second?
parseFloat(Ljava/lang/String;)F??
??"java/lang/IllegalArgumentException?S[requests_per_second] must be a float greater than 0. Use -1 to disable throttling.?*(Ljava/lang/String;Ljava/lang/Throwable;)V?
?????valueOf(F)Ljava/lang/Float;?
?(Ljava/lang/String;)V
?Fe!Ljava/lang/NumberFormatException;requestsPerSecondStringjava/lang/Exception
java/lang/Throwable$com/groupbyinc/flux/rest/RestChannel
newBuilder7()Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;3com/groupbyinc/flux/common/xcontent/XContentBuilderstartObject
?java/lang/StringBuilder
<append-(Ljava/lang/String;)Ljava/lang/StringBuilder;
:!com/groupbyinc/flux/tasks/Task#getId()J%&
$'(J)Ljava/lang/StringBuilder;)
*Bq
,field[(Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;./
0	endObject2
3*com/groupbyinc/flux/rest/BytesRestResponse5#com/groupbyinc/flux/rest/RestStatus7OK%Lcom/groupbyinc/flux/rest/RestStatus;9:	8;](Lcom/groupbyinc/flux/rest/RestStatus;Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;)V=
6>sendResponse*(Lcom/groupbyinc/flux/rest/RestResponse;)V@ABcloseD;
E
addSuppressed(Ljava/lang/Throwable;)VGH

Ibuilder5Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;channel&Lcom/groupbyinc/flux/rest/RestChannel;Jcom/groupbyinc/flux/index/reindex/BulkIndexByScrollResponseContentListenerO8(Lcom/groupbyinc/flux/rest/RestChannel;Ljava/util/Map;)VQ
PR?(Lcom/groupbyinc/flux/action/GenericAction;Lcom/groupbyinc/flux/action/ActionRequest;Lcom/groupbyinc/flux/action/ActionListener;)Lcom/groupbyinc/flux/tasks/Task;zT
oUjava/lang/ClassXdesiredAssertionStatusZ?
Y[	SignatureCodeLocalVariableTableLocalVariableTypeTableLineNumberTable4(Lcom/groupbyinc/flux/common/settings/Settings;TA;)V
StackMapTable
Exceptions1(Lcom/groupbyinc/flux/rest/RestRequest;)TRequest;:(Lcom/groupbyinc/flux/rest/RestRequest;TRequest;)TRequest;BootstrapMethods
SourceFileInnerClasses!]	^m*+?*,??_  "#$` !a/0
1]b%&^Ft*+*+?,?0:+2?8?5?:Y?=:??E?KWM?E?KW*,?a??gW?k:??*,?s,*??y?}???_R)??t "t??t??t?t?h??V??` )??t !h??a.69:;-<<>H@OHVI[J^Lc?Hc?md()*d(]e-.^0????+?
??Y???????,?
??Y????,+?,???8??W,+?,??????W,+?,??????W+???N-?,-?ʶ?W+??:?
,?ڶ?W,?_4? "??????\$??o??`? !???a2XY([7\F]U_\``aidoetf~hc?@???]f~^X+,???_  "????` !ald(	??^?C*??L+??+??E?N??Y?-???$???	???$??
??Y???$??
?_4?C??<	?!"?a2z{|
????!?(?.?4?>?c?
?G??
??^??,?N:-?W-?Y?*? "? +?(?+?-?1W-?4W,?6Y?<-???C-?P?-?F?D:?J?8-?F?1::?:-??-?F?:?J?-?F??QUX

Hk

Ht??
kvt_*?KL???????MNa&	m
no2p7qHrkmtr?scS?X?$

F
H
??$


??$dWX^y+*?,?PY-?S?VW?_4 "??????MN` !a>dW;^4?\?????a'c@gTV[]TV?]]hi	
	




© 2015 - 2025 Weber Informatics LLC | Privacy Policy