com.groupbyinc.flux.index.reindex.ScrollableHitSource.class Maven / Gradle / Ivy
???? 4 ? 5com/groupbyinc/flux/index/reindex/ScrollableHitSource java/lang/Object ScrollableHitSource.java Ccom/groupbyinc/flux/index/reindex/ScrollableHitSource$SearchFailure
SearchFailure >com/groupbyinc/flux/index/reindex/ScrollableHitSource$BasicHit BasicHit 9com/groupbyinc/flux/index/reindex/ScrollableHitSource$Hit Hit >com/groupbyinc/flux/index/reindex/ScrollableHitSource$Response Response %java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles Lookup scrollId -Ljava/util/concurrent/atomic/AtomicReference; ALjava/util/concurrent/atomic/AtomicReference; logger !Lorg/apache/logging/log4j/Logger;
backoffPolicy /Lcom/groupbyinc/flux/action/bulk/BackoffPolicy;
threadPool +Lcom/groupbyinc/flux/threadpool/ThreadPool; countSearchRetry Ljava/lang/Runnable; fail Ljava/util/function/Consumer; 4Ljava/util/function/Consumer; ?(Lorg/apache/logging/log4j/Logger;Lcom/groupbyinc/flux/action/bulk/BackoffPolicy;Lcom/groupbyinc/flux/threadpool/ThreadPool;Ljava/lang/Runnable;Ljava/util/function/Consumer;)V ()V % '
( +java/util/concurrent/atomic/AtomicReference *
+ ( - / 1 3 ! 5 " # 7 this 7Lcom/groupbyinc/flux/index/reindex/ScrollableHitSource; start (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; ? @
> A B (Ljava/lang/Object;)V D lambda$start$0 `(Ljava/util/function/Consumer;Lcom/groupbyinc/flux/index/reindex/ScrollableHitSource$Response;)V F G
H I C(Lcom/groupbyinc/flux/index/reindex/ScrollableHitSource$Response;)V K accept s(Lcom/groupbyinc/flux/index/reindex/ScrollableHitSource;Ljava/util/function/Consumer;)Ljava/util/function/Consumer; M N O doStart Q <
R
onResponse _Ljava/util/function/Consumer; startNextScroll K(Lcom/groupbyinc/flux/common/unit/TimeValue;Ljava/util/function/Consumer;)V get ()Ljava/lang/Object; X Y
+ Z java/lang/String \ lambda$startNextScroll$1 ^ G
_ ` O doStartNextScroll ](Ljava/lang/String;Lcom/groupbyinc/flux/common/unit/TimeValue;Ljava/util/function/Consumer;)V c d
e extraKeepAlive +Lcom/groupbyinc/flux/common/unit/TimeValue; close (Ljava/lang/Runnable;)V "com/groupbyinc/flux/common/Strings k hasLength (Ljava/lang/String;)Z m n
l o ' lambda$close$2 r j
s t run a(Lcom/groupbyinc/flux/index/reindex/ScrollableHitSource;Ljava/lang/Runnable;)Ljava/lang/Runnable; v w x clearScroll )(Ljava/lang/String;Ljava/lang/Runnable;)V z {
| cleanup ~ j
onCompletion Ljava/lang/String; setScroll (Ljava/lang/String;)V set ? D
+ ? getScrollId ()Ljava/lang/String; ? ?
? ? ?
? java/util/function/Consumer ? M D ? ? response @Lcom/groupbyinc/flux/index/reindex/ScrollableHitSource$Response; 7scroll returned [{}] documents with a scroll id of [{}] ? getHits ()Ljava/util/List; ? ?
? java/util/List ? size ()I ? ? ? ? java/lang/Integer ? valueOf (I)Ljava/lang/Integer; ? ?
? ? org/apache/logging/log4j/Logger ? debug 9(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V ? ? ? ? Signature Code LocalVariableTable LocalVariableTypeTable LineNumberTable ?(Lorg/apache/logging/log4j/Logger;Lcom/groupbyinc/flux/action/bulk/BackoffPolicy;Lcom/groupbyinc/flux/threadpool/ThreadPool;Ljava/lang/Runnable;Ljava/util/function/Consumer;)V b(Ljava/util/function/Consumer;)V c(Ljava/util/function/Consumer<-Lcom/groupbyinc/flux/index/reindex/ScrollableHitSource$Response;>;)V ?(Lcom/groupbyinc/flux/common/unit/TimeValue;Ljava/util/function/Consumer;)V ?(Ljava/lang/String;Lcom/groupbyinc/flux/common/unit/TimeValue;Ljava/util/function/Consumer<-Lcom/groupbyinc/flux/index/reindex/ScrollableHitSource$Response;>;)V
StackMapTable BootstrapMethods
SourceFile InnerClasses! ? ! " # ? $ % &