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

com.groupbyinc.flux.index.reindex.remote.RemoteScrollableHitSource.class Maven / Gradle / Ivy

There is a newer version: 198
Show newest version
????4?Bcom/groupbyinc/flux/index/reindex/remote/RemoteScrollableHitSource5com/groupbyinc/flux/index/reindex/ScrollableHitSourceRemoteScrollableHitSource.javaOcom/groupbyinc/flux/index/reindex/remote/RemoteScrollableHitSource$1RetryHelperRetryHelperDcom/groupbyinc/flux/index/reindex/remote/RemoteScrollableHitSource$1	>com/groupbyinc/flux/index/reindex/ScrollableHitSource$ResponseResponseFcom/groupbyinc/flux/common/util/concurrent/ThreadContext$StoredContext8com/groupbyinc/flux/common/util/concurrent/ThreadContext
StoredContext%java/lang/invoke/MethodHandles$Lookupjava/lang/invoke/MethodHandlesLookupclient'Lcom/groupbyinc/flux/client/RestClient;query1Lcom/groupbyinc/flux/common/bytes/BytesReference;
searchRequest1Lcom/groupbyinc/flux/action/search/SearchRequest;
remoteVersionLcom/groupbyinc/flux/Version;8(Lorg/apache/logging/log4j/Logger;Lcom/groupbyinc/flux/action/bulk/BackoffPolicy;Lcom/groupbyinc/flux/threadpool/ThreadPool;Ljava/lang/Runnable;Ljava/util/function/Consumer;Lcom/groupbyinc/flux/client/RestClient;Lcom/groupbyinc/flux/common/bytes/BytesReference;Lcom/groupbyinc/flux/action/search/SearchRequest;)V?(Lorg/apache/logging/log4j/Logger;Lcom/groupbyinc/flux/action/bulk/BackoffPolicy;Lcom/groupbyinc/flux/threadpool/ThreadPool;Ljava/lang/Runnable;Ljava/util/function/Consumer;)V "
#	%	'	)thisDLcom/groupbyinc/flux/index/reindex/remote/RemoteScrollableHitSource;logger!Lorg/apache/logging/log4j/Logger;
backoffPolicy/Lcom/groupbyinc/flux/action/bulk/BackoffPolicy;
threadPool+Lcom/groupbyinc/flux/threadpool/ThreadPool;countSearchRetryLjava/lang/Runnable;fail4Ljava/util/function/Consumer;Ljava/util/function/Consumer;doStart (Ljava/util/function/Consumer;)V"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;)VAlambda$doStart$1=(Ljava/util/function/Consumer;Lcom/groupbyinc/flux/Version;)VCD
EF (Lcom/groupbyinc/flux/Version;)VHaccept?(Lcom/groupbyinc/flux/index/reindex/remote/RemoteScrollableHitSource;Ljava/util/function/Consumer;)Ljava/util/function/Consumer;JKLlookupRemoteVersionN9
O
onResponse`Ljava/util/function/Consumer<-Lcom/groupbyinc/flux/index/reindex/ScrollableHitSource$Response;>;"com/groupbyinc/flux/client/RequestSGETUW'(Ljava/lang/String;Ljava/lang/String;)V Y
TZ>com/groupbyinc/flux/index/reindex/remote/RemoteResponseParsers\MAIN_ACTION_PARSER>Lcom/groupbyinc/flux/common/xcontent/ConstructingObjectParser;^_	]`executec(Lcom/groupbyinc/flux/client/Request;Ljava/util/function/BiFunction;Ljava/util/function/Consumer;)Vbc
d	onVersion;onStartResponse`(Ljava/util/function/Consumer;Lcom/groupbyinc/flux/index/reindex/ScrollableHitSource$Response;)VgetScrollId()Ljava/lang/String;jk
l"com/groupbyinc/flux/common/Stringsn	hasLength(Ljava/lang/String;)Zpq
orgetHits()Ljava/util/List;tu
vjava/util/ListxisEmpty()Zz{y|-.	~SFirst response looks like a scan response. Jumping right to the second. scroll=[{}]?org/apache/logging/log4j/Logger?debug'(Ljava/lang/String;Ljava/lang/Object;)V????)com/groupbyinc/flux/common/unit/TimeValue?timeValueMillis.(J)Lcom/groupbyinc/flux/common/unit/TimeValue;??
??doStartNextScroll](Ljava/lang/String;Lcom/groupbyinc/flux/common/unit/TimeValue;Ljava/util/function/Consumer;)V??
?java/util/function/Consumer?JA??response@Lcom/groupbyinc/flux/index/reindex/ScrollableHitSource$Response;/com/groupbyinc/flux/action/search/SearchRequest?scroll%()Lcom/groupbyinc/flux/search/Scroll;??
??!com/groupbyinc/flux/search/Scroll?	keepAlive-()Lcom/groupbyinc/flux/common/unit/TimeValue;??
??nanos()J??
??timeValueNanos??
??	?>com/groupbyinc/flux/index/reindex/remote/RemoteRequestBuilders??(Ljava/lang/String;Lcom/groupbyinc/flux/common/unit/TimeValue;Lcom/groupbyinc/flux/Version;)Lcom/groupbyinc/flux/client/Request;??
??RESPONSE_PARSER?_	]?scrollIdLjava/lang/String;extraKeepAlive+Lcom/groupbyinc/flux/common/unit/TimeValue;clearScroll)(Ljava/lang/String;Ljava/lang/Runnable;)VU(Ljava/lang/String;Lcom/groupbyinc/flux/Version;)Lcom/groupbyinc/flux/client/Request;??
??m(Lcom/groupbyinc/flux/index/reindex/remote/RemoteScrollableHitSource;Ljava/lang/String;Ljava/lang/Runnable;)V ?

?%com/groupbyinc/flux/client/RestClient?performRequestAsyncT(Lcom/groupbyinc/flux/client/Request;Lcom/groupbyinc/flux/client/ResponseListener;)V??
??onCompletioncleanup(Ljava/lang/Runnable;)V12	?)com/groupbyinc/flux/threadpool/ThreadPool?generic(()Ljava/util/concurrent/ExecutorService;??
??()V?lambda$cleanup$2??
??runn(Lcom/groupbyinc/flux/index/reindex/remote/RemoteScrollableHitSource;Ljava/lang/Runnable;)Ljava/lang/Runnable;???$java/util/concurrent/ExecutorService?submit3(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;????getThreadContext<()Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext;??
??newRestorableContext (Z)Ljava/util/function/Supplier;??
??(Lcom/groupbyinc/flux/index/reindex/remote/RemoteScrollableHitSource;Lcom/groupbyinc/flux/client/Request;Ljava/util/function/Supplier;Ljava/util/function/BiFunction;Ljava/util/function/Consumer;)V ?
???
?request$Lcom/groupbyinc/flux/client/Request;parser?Ljava/util/function/BiFunction;Ljava/util/function/BiFunction;listener#Ljava/util/function/Consumer<-TT;>;contextSuppliergLjava/util/function/Supplier;Ljava/util/function/Supplier;wrapExceptionToPreserveStatusv(ILcom/groupbyinc/flux/common/http/HttpEntity;Ljava/lang/Exception;)Lcom/groupbyinc/flux/ElasticsearchStatusException;%Lcom/groupbyinc/flux/common/Nullable;java/io/IOException?#com/groupbyinc/flux/rest/RestStatus?fromCode((I)Lcom/groupbyinc/flux/rest/RestStatus;
?java/lang/StringBuilder ?
Couldn't extract status [append-(Ljava/lang/String;)Ljava/lang/StringBuilder;

(I)Ljava/lang/StringBuilder;

]. toStringk
INTERNAL_SERVER_ERROR%Lcom/groupbyinc/flux/rest/RestStatus;	?java/lang/String0com/groupbyinc/flux/ElasticsearchStatusExceptionbodyMessage@(Lcom/groupbyinc/flux/common/http/HttpEntity;)Ljava/lang/String;
 java/lang/Object"b(Ljava/lang/String;Lcom/groupbyinc/flux/rest/RestStatus;Ljava/lang/Throwable;[Ljava/lang/Object;)V $
%Failed to extract body.'
addSuppressed(Ljava/lang/Throwable;)V)*
+e2Lcom/groupbyinc/flux/ElasticsearchStatusException;ioeLjava/io/IOException;
statusCodeIentity,Lcom/groupbyinc/flux/common/http/HttpEntity;causeLjava/lang/Exception;status
messagePrefixNo error body.9body=;0com/groupbyinc/flux/common/http/util/EntityUtils=
>?closeA?
?BShut down remote connectionD(Ljava/lang/String;)V?F?Gjava/lang/RunnableIJ?(Failed to shutdown the remote connectionLerror*(Ljava/lang/String;Ljava/lang/Throwable;)VNO?Pjava/lang/ThrowableR
initialSearch?(Lcom/groupbyinc/flux/action/search/SearchRequest;Lcom/groupbyinc/flux/common/bytes/BytesReference;Lcom/groupbyinc/flux/Version;)Lcom/groupbyinc/flux/client/Request;TU
?Vlambda$doStart$0Xi
YZC(Lcom/groupbyinc/flux/index/reindex/ScrollableHitSource$Response;)V\Lversionhi
`r
access$000g(Lcom/groupbyinc/flux/index/reindex/remote/RemoteScrollableHitSource;)Lorg/apache/logging/log4j/Logger;x0
access$100
access$200
access$300u(Lcom/groupbyinc/flux/index/reindex/remote/RemoteScrollableHitSource;)Lcom/groupbyinc/flux/action/bulk/BackoffPolicy;/0	j
access$500
access$600Z(Lcom/groupbyinc/flux/index/reindex/remote/RemoteScrollableHitSource;)Ljava/lang/Runnable;34	o
access$700q(Lcom/groupbyinc/flux/index/reindex/remote/RemoteScrollableHitSource;)Lcom/groupbyinc/flux/threadpool/ThreadPool;
access$800c(Lcom/groupbyinc/flux/index/reindex/remote/RemoteScrollableHitSource;)Ljava/util/function/Consumer;57	u
access$900m(Lcom/groupbyinc/flux/index/reindex/remote/RemoteScrollableHitSource;)Lcom/groupbyinc/flux/client/RestClient;access$1000CodeLocalVariableTableLocalVariableTypeTableLineNumberTable	SignatureO(Lorg/apache/logging/log4j/Logger;Lcom/groupbyinc/flux/action/bulk/BackoffPolicy;Lcom/groupbyinc/flux/threadpool/ThreadPool;Ljava/lang/Runnable;Ljava/util/function/Consumer;Lcom/groupbyinc/flux/client/RestClient;Lcom/groupbyinc/flux/common/bytes/BytesReference;Lcom/groupbyinc/flux/action/search/SearchRequest;)Vc(Ljava/util/function/Consumer<-Lcom/groupbyinc/flux/index/reindex/ScrollableHitSource$Response;>;)V?(Ljava/util/function/Consumer;)V
StackMapTable?(Ljava/util/function/Consumer<-Lcom/groupbyinc/flux/index/reindex/ScrollableHitSource$Response;>;Lcom/groupbyinc/flux/index/reindex/ScrollableHitSource$Response;)V?(Ljava/lang/String;Lcom/groupbyinc/flux/common/unit/TimeValue;Ljava/util/function/Consumer<-Lcom/groupbyinc/flux/index/reindex/ScrollableHitSource$Response;>;)V?(Lcom/groupbyinc/flux/client/Request;Ljava/util/function/BiFunction;Ljava/util/function/Consumer<-TT;>;)V"RuntimeVisibleParameterAnnotations
ExceptionsBootstrapMethods
SourceFileInnerClasses! !z?	*+,-?$*?&*?(*?*?{\	+,-./0123457|56}HIJKL~89zV**+?M?P?{+,Q7|QR}
PU~?N9z^*?TYVX?[?a+?e?{+,f7|fg}
XY~?hiz?=,?m?s?.,?w?}?"*??,?m??*,?m	??+???
+,???{ =+,=Q7=??|=QR}\]%^5`<b?5~???z?**?(??????,??a??:*+*??????-?e?{4*+,*??*??*Q7??|*QR}fg)h~???z\*?*+*?????
Y*+,???Ʊ{ +,???4}
l???zM*?˶?*+????W?{+,?4}
??bcz?*?˶???:?Y*+,-???{4+,?????7
??| ????
??}?
??~???z(??NX:-?#?Y?	?
??
?:?N?Y?Y??
+?!?
?-,?#?&?:?Y?Y??
(?
?-,?#?&:?,?-PQ?{Hw
-.S./0?12?34?56|7	x8?}*
??	?
?)?-?QSw~??-?c???z[ *?:??Y?




© 2015 - 2024 Weber Informatics LLC | Privacy Policy