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

com.groupbyinc.flux.ingest.PipelineExecutionService.class Maven / Gradle / Ivy

????4?3com/groupbyinc/flux/ingest/PipelineExecutionServicejava/lang/Object/com/groupbyinc/flux/cluster/ClusterStateApplierPipelineExecutionService.java?com/groupbyinc/flux/ingest/PipelineExecutionService$StatsHolderStatsHolder5com/groupbyinc/flux/ingest/PipelineExecutionService$25com/groupbyinc/flux/ingest/PipelineExecutionService$1
java/util/Map$Entry
java/util/MapEntry,com/groupbyinc/flux/ingest/IngestStats$Stats&com/groupbyinc/flux/ingest/IngestStatsStats2com/groupbyinc/flux/ingest/IngestDocument$MetaData)com/groupbyinc/flux/ingest/IngestDocumentMetaData/com/groupbyinc/flux/threadpool/ThreadPool$Names)com/groupbyinc/flux/threadpool/ThreadPool Names4com/groupbyinc/flux/cluster/metadata/MetaData$Custom#-com/groupbyinc/flux/cluster/metadata/MetaData%Custom%java/lang/invoke/MethodHandles$Lookup(java/lang/invoke/MethodHandles*Lookupstore*Lcom/groupbyinc/flux/ingest/PipelineStore;
threadPool+Lcom/groupbyinc/flux/threadpool/ThreadPool;
totalStatsALcom/groupbyinc/flux/ingest/PipelineExecutionService$StatsHolder;statsHolderPerPipelineLjava/util/Map;dLjava/util/Map;X(Lcom/groupbyinc/flux/ingest/PipelineStore;Lcom/groupbyinc/flux/threadpool/ThreadPool;)V()V68
9
	912	<java/util/Collections>emptyMap()Ljava/util/Map;@A
?B34	D-.	F/0	Hthis5Lcom/groupbyinc/flux/ingest/PipelineExecutionService;executeIndexRequestl(Lcom/groupbyinc/flux/action/index/IndexRequest;Ljava/util/function/Consumer;Ljava/util/function/Consumer;)V-com/groupbyinc/flux/action/index/IndexRequestNgetPipeline()Ljava/lang/String;PQ
OR9(Ljava/lang/String;)Lcom/groupbyinc/flux/ingest/Pipeline;PT
UindexWexecutor:(Ljava/lang/String;)Ljava/util/concurrent/ExecutorService;YZ
![?(Lcom/groupbyinc/flux/ingest/PipelineExecutionService;Ljava/util/function/Consumer;Lcom/groupbyinc/flux/action/index/IndexRequest;Lcom/groupbyinc/flux/ingest/Pipeline;Ljava/util/function/Consumer;)V6]
^$java/util/concurrent/ExecutorService`execute(Ljava/lang/Runnable;)Vbcadrequest/Lcom/groupbyinc/flux/action/index/IndexRequest;failureHandler4Ljava/util/function/Consumer;Ljava/util/function/Consumer;completionHandler2Ljava/util/function/Consumer;pipeline%Lcom/groupbyinc/flux/ingest/Pipeline;executeBulkRequestS(Ljava/lang/Iterable;Ljava/util/function/BiConsumer;Ljava/util/function/Consumer;)Vbulkq?(Lcom/groupbyinc/flux/ingest/PipelineExecutionService;Ljava/util/function/Consumer;Ljava/lang/Iterable;Ljava/util/function/BiConsumer;)V6s
tactionRequestsBLjava/lang/Iterable;Ljava/lang/Iterable;itemFailureHandlereLjava/util/function/BiConsumer;Ljava/util/function/BiConsumer;stats*()Lcom/groupbyinc/flux/ingest/IngestStats;java/util/HashMap~size()I???(I)V6?
?entrySet()Ljava/util/Set;???
java/util/Set?iterator()Ljava/util/Iterator;????java/util/Iterator?hasNext()Z????next()Ljava/lang/Object;????getKey???getValue???createStats0()Lcom/groupbyinc/flux/ingest/IngestStats$Stats;??
	?put8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;???@(Lcom/groupbyinc/flux/ingest/IngestStats$Stats;Ljava/util/Map;)V6?
?entryjLjava/util/Map$Entry;Ljava/util/Map$Entry;statsPerPipelineQLjava/util/Map;applyClusterState4(Lcom/groupbyinc/flux/cluster/ClusterChangedEvent;)V/com/groupbyinc/flux/cluster/ClusterChangedEvent?state,()Lcom/groupbyinc/flux/cluster/ClusterState;??
??(com/groupbyinc/flux/cluster/ClusterState?getMetaData1()Lcom/groupbyinc/flux/cluster/metadata/MetaData;??
??ingest?customJ(Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/metadata/MetaData$Custom;??
&?)com/groupbyinc/flux/ingest/IngestMetadata?updatePipelineStats.(Lcom/groupbyinc/flux/ingest/IngestMetadata;)V??
?event1Lcom/groupbyinc/flux/cluster/ClusterChangedEvent;ingestMetadata+Lcom/groupbyinc/flux/ingest/IngestMetadata;(Ljava/util/Map;)V6?
?keySet???java/lang/String?getPipelines?A
??containsKey(Ljava/lang/Object;)Z???remove?8??unmodifiableMap (Ljava/util/Map;)Ljava/util/Map;??
??Ljava/lang/String;changedZnewStatsPerPipeline(Ljava/util/Iterator;Ljava/util/Iterator;innerExecuteW(Lcom/groupbyinc/flux/action/index/IndexRequest;Lcom/groupbyinc/flux/ingest/Pipeline;)Vjava/lang/Exception?#com/groupbyinc/flux/ingest/Pipeline?
getProcessors()Ljava/util/List;??
??java/util/List?isEmpty????java/lang/System?nanoTime()J??
??getIdQ
?get&(Ljava/lang/Object;)Ljava/lang/Object;java/util/Optional
ofNullable((Ljava/lang/Object;)Ljava/util/Optional;	

	preIngest
8
	"java/lang/invoke/LambdaMetafactorymetafactory?(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;)VD(Lcom/groupbyinc/flux/ingest/PipelineExecutionService$StatsHolder;)Vaccept()Ljava/util/function/Consumer;	ifPresent (Ljava/util/function/Consumer;)V !
"WQ
O$type&Q
O'id)Q
O*routing,Q
O-parent/Q
O0sourceAsMap2A
O3l(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;)V65
6.(Lcom/groupbyinc/flux/ingest/IngestDocument;)Vb8
?9extractMetadata;A
<INDEX4Lcom/groupbyinc/flux/ingest/IngestDocument$MetaData;>?	@W(Ljava/lang/String;)Lcom/groupbyinc/flux/action/support/replication/ReplicationRequest;WB
OCTYPEE?	FC(Ljava/lang/String;)Lcom/groupbyinc/flux/action/index/IndexRequest;&H
OIIDK?	L)H
ONROUTINGP?	Q,H
OSPARENTU?	V/H
OXgetSourceAndMetadataZA
[source@(Ljava/util/Map;)Lcom/groupbyinc/flux/action/index/IndexRequest;]^
O_java/util/concurrent/TimeUnitaNANOSECONDSLjava/util/concurrent/TimeUnit;cd	betoMillis(J)Jgh
bi
postIngest(J)Vkl
	mlambda$innerExecute$0E(JLcom/groupbyinc/flux/ingest/PipelineExecutionService$StatsHolder;)Vop
qr (J)Ljava/util/function/Consumer;tuingestFailedw8
	xyjava/lang/Throwable|5Ljava/util/Map;ingestDocument+Lcom/groupbyinc/flux/ingest/IngestDocument;metadataMapWLjava/util/Map;ingestTimeInMillisJeLjava/lang/Exception;indexRequeststartTimeInNanos
pipelineStatsWLjava/util/Optional;Ljava/util/Optional;(com/groupbyinc/flux/ingest/PipelineStore?T
??"java/lang/IllegalArgumentException?java/lang/StringBuilder?
?9pipeline with id [?append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??] does not exist?toString?Q
??(Ljava/lang/String;)V6?
??
pipelineIdstatsHolder
access$000?(Lcom/groupbyinc/flux/ingest/PipelineExecutionService;Lcom/groupbyinc/flux/action/index/IndexRequest;Lcom/groupbyinc/flux/ingest/Pipeline;)V??
?x0x1x2
access$100n(Lcom/groupbyinc/flux/ingest/PipelineExecutionService;Ljava/lang/String;)Lcom/groupbyinc/flux/ingest/Pipeline;	SignatureCodeLocalVariableTableLineNumberTableLocalVariableTypeTable?(Lcom/groupbyinc/flux/action/index/IndexRequest;Ljava/util/function/Consumer;Ljava/util/function/Consumer;)V?(Ljava/lang/Iterable;Ljava/util/function/BiConsumer;Ljava/util/function/Consumer;)V
StackMapTable
ExceptionsBootstrapMethods
SourceFileInnerClasses!-./012B34?567?s!*?:*?	Y?;?=*?C?E*+?G*,?I?? !JK!-.!/0?1./23 4LM??&*+?S?V:*?IX?\?Y*,+-?_?e??4&JK&fg&hj&kj
mn?&hi&kl?7
8%E??op??*?Ir?\?Y*-+,?u?e??*JKvxy{kj? vwyzki?
Je??|}??a*?EL?Y+????M+????N-???,-???:,?????	????W??ѻY*?=??,????*3??aJK\34N?4? 3??\35N???hjk3lNmQo????1???r+?????????M,?*,?ʱ? JK??
???tuvx???????=?Y*?E??N-????:???)????:+???????=???+?ٹ???:???/????:-???-?	Y?;??W=????*-??E??H1m?qm??JK????????4??????5????F{|}~%1???F?H?K?q?|??????????????,??2?????A,????????B*?E,???:*?=???#+?%:+?(:+?+:+?.:	+?1:
+?4:?Y	
?7:,?:?=:
+
?A??ֶDW+
?G??ֶJW+
?M??ֶOW+
?R??ֶTW+
?W??ֶYW+?\?`W?f??!e?j7*?=?n?v?#?@:*?=?y?{?#?:?f??!e?j7*?=?n?v?#??#??#???:?W?@?&?F?)?L?,?	R?/?
X?24mq?zd?4
?????(??AJKA?gAmn0??#??? X?2~zd??
#????"??
??#?*?4?:?@?F?L?R?X?m?s?z???????????????????????(?1?=?@??
??O??U}&??PT??1*?G+??M,?%??Y??Y?????+??????????,?? 1JK1??	(mn??	?
?/???/?
op?:,?n?????2?????E*+,???? ?K?g?n?)?????:*+?V???K???)? sz??J		
		@!"	$&'	)+,




© 2015 - 2025 Weber Informatics LLC | Privacy Policy