com.groupbyinc.flux.ingest.IngestService.class Maven / Gradle / Ivy
???? 4 (com/groupbyinc/flux/ingest/IngestService java/lang/Object IngestService.java java/util/Map$Entry
java/util/Map Entry /com/groupbyinc/flux/ingest/Processor$Parameters $com/groupbyinc/flux/ingest/Processor
Parameters ,com/groupbyinc/flux/ingest/Processor$Factory Factory /com/groupbyinc/flux/threadpool/ThreadPool$Names )com/groupbyinc/flux/threadpool/ThreadPool Names %java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles Lookup
pipelineStore *Lcom/groupbyinc/flux/ingest/PipelineStore; pipelineExecutionService 5Lcom/groupbyinc/flux/ingest/PipelineExecutionService; ?(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/threadpool/ThreadPool;Lcom/groupbyinc/flux/env/Environment;Lcom/groupbyinc/flux/script/ScriptService;Lcom/groupbyinc/flux/index/analysis/AnalysisRegistry;Ljava/util/List;)V ()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; ( )
' * + 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; - lambda$new$0 w(Lcom/groupbyinc/flux/threadpool/ThreadPool;Ljava/lang/Long;Ljava/lang/Runnable;)Ljava/util/concurrent/ScheduledFuture; / 0
1 2 L(Ljava/lang/Long;Ljava/lang/Runnable;)Ljava/util/concurrent/ScheduledFuture; 4 apply L(Lcom/groupbyinc/flux/threadpool/ThreadPool;)Ljava/util/function/BiFunction; 6 7 8 getThreadContext <()Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext; : ;
< java/util/Objects > requireNonNull &(Ljava/lang/Object;)Ljava/lang/Object; @ A
? B ()J D relativeTimeInMillis F D
G H getAsLong N(Lcom/groupbyinc/flux/threadpool/ThreadPool;)Ljava/util/function/LongSupplier; J K L(Lcom/groupbyinc/flux/env/Environment;Lcom/groupbyinc/flux/script/ScriptService;Lcom/groupbyinc/flux/index/analysis/AnalysisRegistry;Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext;Ljava/util/function/LongSupplier;Ljava/util/function/BiFunction;)V ! N
O java/util/HashMap Q
R $ java/util/List T iterator ()Ljava/util/Iterator; V W U X ,com/groupbyinc/flux/common/settings/Settings Z #com/groupbyinc/flux/env/Environment \ (com/groupbyinc/flux/script/ScriptService ^ 3com/groupbyinc/flux/index/analysis/AnalysisRegistry ` java/util/function/BiFunction b java/util/Iterator d hasNext ()Z f g e h next ()Ljava/lang/Object; j k e l (com/groupbyinc/flux/plugins/IngestPlugin n
getProcessors B(Lcom/groupbyinc/flux/ingest/Processor$Parameters;)Ljava/util/Map; p q o r entrySet ()Ljava/util/Set; t u v
java/util/Set x y X getKey { k | java/lang/String ~ getValue ? k ? put ? - ? "java/lang/IllegalArgumentException ? java/lang/StringBuilder ?
? $ Ingest processor [ ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? ] is already registered ? toString ()Ljava/lang/String; ? ?
? ? (Ljava/lang/String;)V ! ?
? ? (com/groupbyinc/flux/ingest/PipelineStore ? java/util/Collections ? unmodifiableMap (Ljava/util/Map;)Ljava/util/Map; ? ?
? ? @(Lcom/groupbyinc/flux/common/settings/Settings;Ljava/util/Map;)V ! ?
? ? ? 3com/groupbyinc/flux/ingest/PipelineExecutionService ? X(Lcom/groupbyinc/flux/ingest/PipelineStore;Lcom/groupbyinc/flux/threadpool/ThreadPool;)V ! ?
? ? ? entry WLjava/util/Map$Entry; Ljava/util/Map$Entry;
newProcessors QLjava/util/Map; Ljava/util/Map; ingestPlugin *Lcom/groupbyinc/flux/plugins/IngestPlugin; this *Lcom/groupbyinc/flux/ingest/IngestService; settings .Lcom/groupbyinc/flux/common/settings/Settings;
threadPool +Lcom/groupbyinc/flux/threadpool/ThreadPool; env %Lcom/groupbyinc/flux/env/Environment;
scriptService *Lcom/groupbyinc/flux/script/ScriptService; analysisRegistry 5Lcom/groupbyinc/flux/index/analysis/AnalysisRegistry;
ingestPlugins ; Ljava/util/List; scheduler nLjava/util/function/BiFunction;>; Ljava/util/function/BiFunction;
parameters 1Lcom/groupbyinc/flux/ingest/Processor$Parameters; processorFactories getPipelineStore ,()Lcom/groupbyinc/flux/ingest/PipelineStore; getPipelineExecutionService 7()Lcom/groupbyinc/flux/ingest/PipelineExecutionService; info )()Lcom/groupbyinc/flux/ingest/IngestInfo; getProcessorFactories ()Ljava/util/Map; ? ?
? ? java/util/ArrayList ? size ()I ? ? ? (I)V ! ?
? ? (com/groupbyinc/flux/ingest/ProcessorInfo ?
? ? add (Ljava/lang/Object;)Z ? ? U ? %com/groupbyinc/flux/ingest/IngestInfo ? (Ljava/util/List;)V ! ?
? ? processorInfoList ; java/lang/Long ? longValue ? D
? ? )com/groupbyinc/flux/common/unit/TimeValue ? timeValueMillis .(J)Lcom/groupbyinc/flux/common/unit/TimeValue; ? ?
? ? generic ? schedule y(Lcom/groupbyinc/flux/common/unit/TimeValue;Ljava/lang/String;Ljava/lang/Runnable;)Ljava/util/concurrent/ScheduledFuture; ? ?
? delay Ljava/lang/Long; command Ljava/lang/Runnable; Code LocalVariableTable LocalVariableTypeTable LineNumberTable
StackMapTable Signature(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/threadpool/ThreadPool;Lcom/groupbyinc/flux/env/Environment;Lcom/groupbyinc/flux/script/ScriptService;Lcom/groupbyinc/flux/index/analysis/AnalysisRegistry;Ljava/util/List;)V BootstrapMethods
SourceFile InnerClasses ! ! " J ?*? %,? 9 :? Y-,? =,Y? CW? M ? P:? RY? S: ? Y :
? i ? ?
? m ? o:? s :? w ? z :
? i ? Y
? m ? : ? } ? ? ? ? ? ? ? ,? ?Y? ?Y? ??? ?? } ? ? ??? ?? ?? ???????q*? ?Y+ ? ?? ?? ?*? ?Y*? ?,? ?? ?? ?
? G ? ? ^ n ? ? S y ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? + ? ? ? 4 ? ? ? 4 ? G ? ? ^ n ? ? ? ? ? ? ? ? 4 ? ? ? > / 0 2 3 + 4 4 5 S 6 ^ 7 ? 8 ? 9 ? ; ? <