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

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

There is a newer version: 198
Show newest version
????4?3com/groupbyinc/flux/ingest/PipelineExecutionServicejava/lang/Object/com/groupbyinc/flux/cluster/ClusterStateApplierPipelineExecutionService.java?com/groupbyinc/flux/ingest/PipelineExecutionService$StatsHolderStatsHolder5com/groupbyinc/flux/ingest/PipelineExecutionService$1java/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/ThreadPoolNames4com/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46
7
	7/0	:java/util/Collections<emptyMap()Ljava/util/Map;>?
=@12	B+,	D-.	Fthis5Lcom/groupbyinc/flux/ingest/PipelineExecutionService;executeBulkRequestS(Ljava/lang/Iterable;Ljava/util/function/BiConsumer;Ljava/util/function/Consumer;)VwriteLexecutor:(Ljava/lang/String;)Ljava/util/concurrent/ExecutorService;NO
P?(Lcom/groupbyinc/flux/ingest/PipelineExecutionService;Ljava/util/function/Consumer;Ljava/lang/Iterable;Ljava/util/function/BiConsumer;)V4R
S$java/util/concurrent/ExecutorServiceUexecute(Ljava/lang/Runnable;)VWXVYactionRequestsBLjava/lang/Iterable;Ljava/lang/Iterable;itemFailureHandlereLjava/util/function/BiConsumer;Ljava/util/function/BiConsumer;completionHandler4Ljava/util/function/Consumer;Ljava/util/function/Consumer;stats*()Lcom/groupbyinc/flux/ingest/IngestStats;java/util/HashMapfsize()Ihij(I)V4l
gmentrySet()Ljava/util/Set;opq
java/util/Setsiterator()Ljava/util/Iterator;uvtwjava/util/IteratoryhasNext()Z{|z}next()Ljava/lang/Object;?z?getKey???java/lang/String?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4?
?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4?
g?keySet?p?getPipelines??
??containsKey(Ljava/lang/Object;)Z???remove?6z?unmodifiableMap (Ljava/util/Map;)Ljava/util/Map;??
=?pipelineLjava/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()Ljava/lang/String;??
??get&(Ljava/lang/Object;)Ljava/lang/Object;???java/util/Optional?
ofNullable((Ljava/lang/Object;)Ljava/util/Optional;??
??	preIngest?6
	?"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;)V?D(Lcom/groupbyinc/flux/ingest/PipelineExecutionService$StatsHolder;)Vaccept()Ljava/util/function/Consumer;	ifPresent (Ljava/util/function/Consumer;)V

?-com/groupbyinc/flux/action/index/IndexRequestindex?
type?
id?
routing?
parent?
version?
 java/lang/Long"valueOf(J)Ljava/lang/Long;$%
#&versionType)()Lcom/groupbyinc/flux/index/VersionType;()
*sourceAsMap,?
-?(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Long;Lcom/groupbyinc/flux/index/VersionType;Ljava/util/Map;)V4/
0.(Lcom/groupbyinc/flux/ingest/IngestDocument;)VW2
?3extractMetadata5?
6INDEX4Lcom/groupbyinc/flux/ingest/IngestDocument$MetaData;89	:W(Ljava/lang/String;)Lcom/groupbyinc/flux/action/support/replication/ReplicationRequest;<
=TYPE?9	@C(Ljava/lang/String;)Lcom/groupbyinc/flux/action/index/IndexRequest;B
CIDE9	FB
HROUTINGJ9	KB
MPARENTO9	PB
RVERSIONT9	Ujava/lang/NumberW	longValueY?
XZ2(J)Lcom/groupbyinc/flux/action/index/IndexRequest;\
]VERSION_TYPE_9	`%com/groupbyinc/flux/index/VersionTypeb
fromString;(Ljava/lang/String;)Lcom/groupbyinc/flux/index/VersionType;de
cfX(Lcom/groupbyinc/flux/index/VersionType;)Lcom/groupbyinc/flux/action/index/IndexRequest;(h
igetSourceAndMetadatak?
lsource@(Ljava/util/Map;)Lcom/groupbyinc/flux/action/index/IndexRequest;no
pjava/util/concurrent/TimeUnitrNANOSECONDSLjava/util/concurrent/TimeUnit;tu	svtoMillis(J)Jxy
sz
postIngest(J)V|}
	~lambda$innerExecute$0E(JLcom/groupbyinc/flux/ingest/PipelineExecutionService$StatsHolder;)V??
?? (J)Ljava/util/function/Consumer;??ingestFailed?6
	??java/lang/Throwable?Ljava/lang/Long;'Lcom/groupbyinc/flux/index/VersionType;5Ljava/util/Map;ingestDocument+Lcom/groupbyinc/flux/ingest/IngestDocument;metadataMapWLjava/util/Map;ingestTimeInMillisJeLjava/lang/Exception;indexRequest/Lcom/groupbyinc/flux/action/index/IndexRequest;%Lcom/groupbyinc/flux/ingest/Pipeline;startTimeInNanos
pipelineStatsWLjava/util/Optional;Ljava/util/Optional;getPipeline9(Ljava/lang/String;)Lcom/groupbyinc/flux/ingest/Pipeline;(com/groupbyinc/flux/ingest/PipelineStore???
??"java/lang/IllegalArgumentException?java/lang/StringBuilder?
?7pipeline with id [?append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??] does not exist?toString??
??(Ljava/lang/String;)V4?
??
pipelineIdstatsHolder
access$000n(Lcom/groupbyinc/flux/ingest/PipelineExecutionService;Ljava/lang/String;)Lcom/groupbyinc/flux/ingest/Pipeline;??
?x0x1
access$100?(Lcom/groupbyinc/flux/ingest/PipelineExecutionService;Lcom/groupbyinc/flux/action/index/IndexRequest;Lcom/groupbyinc/flux/ingest/Pipeline;)V??
?x2	SignatureCodeLocalVariableTableLineNumberTableLocalVariableTypeTable?(Ljava/lang/Iterable;Ljava/util/function/BiConsumer;Ljava/util/function/Consumer;)V
StackMapTable
ExceptionsBootstrapMethods
SourceFileInnerClasses!+,-./0B12?3
45?s!*?8*?	Y?9?;*?A?C*+?E*,?G?? !HI!+,!-.?30145 6JK??*?GM?Q?Y*-+,?T?Z??*HI[]^`ac? [\^_ab?
;Z??de??d*?CL?gY+?k?nM+?r?xN-?~?/-???:,???????	????W??λY*?;??,????*3??dHI_12Q?2? 3??_13Q???]_`3aQbTd??z?4???r+?????????M,?*,???? HI??
???ijkm???????=?gY*?C??N-???x:?~?)????:+???????=???+?????x:?~?/????:-???-?	Y?9??W=????*-?̵C??H1??q???HI????????2?u????3?u??Fpqrs%t1u?vFwHyKzq{||?}?????????z,?z2?????
?,?ݹ?????B*?C,????	??:*?;???	?
+?:+?:+?:+?:	+?:
+?!?':+?+:+?.:
?Y	

?1:,?4?7:+?;?????>W+?A?????DW+?G?????IW+?L?????NW+?Q?????SW+?V???X?[?^W?a???+?a?????g?jW+?m?qW?w??!e?{7*?;????
?@:*?;?????
?:?w??!e?{7*?;????
??&+P?&+fPhf??=??C??I??O??	U??
^??d?(?j?,2
???????28??R??u???HI??????}??&h??? j?,?
????&h????'??
??&?-?7?=?C?I?O?U?^?d?j????????????????????!?+?8?A?M?P?R?Y?c?f?u?~??????Q
????????#c?.???U?&??????1*?E+??M,?%??Y??Y?????+??????????,?? 1HI1??	(????	?
?/???/?
???:,??????0?????:*+?????I???+???E*+,?ű? ?I?????+??? ????B	
		@ 	"$%	')*




© 2015 - 2024 Weber Informatics LLC | Privacy Policy