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

com.groupbyinc.flux.tasks.TaskResultsService.class Maven / Gradle / Ivy

There is a newer version: 198
Show newest version
????4?,com/groupbyinc/flux/tasks/TaskResultsService6com/groupbyinc/flux/common/component/AbstractComponentTaskResultsService.java.com/groupbyinc/flux/tasks/TaskResultsService$3.com/groupbyinc/flux/tasks/TaskResultsService$2.com/groupbyinc/flux/tasks/TaskResultsService$1
5com/groupbyinc/flux/common/xcontent/ToXContent$Params.com/groupbyinc/flux/common/xcontent/ToXContentParams4com/groupbyinc/flux/common/settings/Settings$Builder,com/groupbyinc/flux/common/settings/SettingsBuilder%java/lang/invoke/MethodHandles$Lookupjava/lang/invoke/MethodHandlesLookup
TASK_INDEXLjava/lang/String;.tasks	TASK_TYPEtask TASK_RESULT_INDEX_MAPPING_FILEtask-index-mapping.json#client#Lcom/groupbyinc/flux/client/Client;clusterService4Lcom/groupbyinc/flux/cluster/service/ClusterService;createIndexActionLLcom/groupbyinc/flux/action/admin/indices/create/TransportCreateIndexAction;?(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/client/Client;Lcom/groupbyinc/flux/cluster/service/ClusterService;Lcom/groupbyinc/flux/action/admin/indices/create/TransportCreateIndexAction;)V*Lcom/groupbyinc/flux/common/inject/Inject;1(Lcom/groupbyinc/flux/common/settings/Settings;)V+.
/%&	1'(	3)*	5this.Lcom/groupbyinc/flux/tasks/TaskResultsService;settings.Lcom/groupbyinc/flux/common/settings/Settings;storeResultT(Lcom/groupbyinc/flux/tasks/TaskResult;Lcom/groupbyinc/flux/action/ActionListener;)V2com/groupbyinc/flux/cluster/service/ClusterService=state,()Lcom/groupbyinc/flux/cluster/ClusterState;?@
>A(com/groupbyinc/flux/cluster/ClusterStateCroutingTable4()Lcom/groupbyinc/flux/cluster/routing/RoutingTable;EF
DG0com/groupbyinc/flux/cluster/routing/RoutingTableIhasIndex(Ljava/lang/String;)ZKL
JMBcom/groupbyinc/flux/action/admin/indices/create/CreateIndexRequestO()V+Q
PRtaskResultIndexSettings0()Lcom/groupbyinc/flux/common/settings/Settings;TU
Vt(Lcom/groupbyinc/flux/common/settings/Settings;)Lcom/groupbyinc/flux/action/admin/indices/create/CreateIndexRequest;9X
PYindexX(Ljava/lang/String;)Lcom/groupbyinc/flux/action/admin/indices/create/CreateIndexRequest;[\
P]taskResultIndexMapping()Ljava/lang/String;_`
a0com/groupbyinc/flux/common/xcontent/XContentTypecJSON2Lcom/groupbyinc/flux/common/xcontent/XContentType;ef	dgmapping?(Ljava/lang/String;Ljava/lang/String;Lcom/groupbyinc/flux/common/xcontent/XContentType;)Lcom/groupbyinc/flux/action/admin/indices/create/CreateIndexRequest;ij
Pkauto(task api)mcauseo\
Pp?(Lcom/groupbyinc/flux/tasks/TaskResultsService;Lcom/groupbyinc/flux/tasks/TaskResult;Lcom/groupbyinc/flux/action/ActionListener;)V+r
sJcom/groupbyinc/flux/action/admin/indices/create/TransportCreateIndexActionuexecutex(Lcom/groupbyinc/flux/tasks/Task;Lcom/groupbyinc/flux/action/ActionRequest;Lcom/groupbyinc/flux/action/ActionListener;)Vwx
vygetMetaData1()Lcom/groupbyinc/flux/cluster/metadata/MetaData;{|
D}-com/groupbyinc/flux/cluster/metadata/MetaDataH(Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData;[?
??2com/groupbyinc/flux/cluster/metadata/IndexMetaData?getMappings7()Lcom/groupbyinc/flux/common/collect/ImmutableOpenMap;??
??3com/groupbyinc/flux/common/collect/ImmutableOpenMap?containsKey(Ljava/lang/Object;)Z??
??!com/groupbyinc/flux/client/Client?admin*()Lcom/groupbyinc/flux/client/AdminClient;????&com/groupbyinc/flux/client/AdminClient?indices1()Lcom/groupbyinc/flux/client/IndicesAdminClient;????java/lang/String?-com/groupbyinc/flux/client/IndicesAdminClient?preparePutMappingd([Ljava/lang/String;)Lcom/groupbyinc/flux/action/admin/indices/mapping/put/PutMappingRequestBuilder;????Mcom/groupbyinc/flux/action/admin/indices/mapping/put/PutMappingRequestBuilder?setTypec(Ljava/lang/String;)Lcom/groupbyinc/flux/action/admin/indices/mapping/put/PutMappingRequestBuilder;??
??	setSource?(Ljava/lang/String;Lcom/groupbyinc/flux/common/xcontent/XContentType;)Lcom/groupbyinc/flux/action/admin/indices/mapping/put/PutMappingRequestBuilder;??
??
	s.(Lcom/groupbyinc/flux/action/ActionListener;)Vw?
??
doStoreResult?<
?createIndexRequestDLcom/groupbyinc/flux/action/admin/indices/create/CreateIndexRequest;metaData4Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData;
taskResult&Lcom/groupbyinc/flux/tasks/TaskResult;listener=Lcom/groupbyinc/flux/action/ActionListener;+Lcom/groupbyinc/flux/action/ActionListener;*Lcom/groupbyinc/flux/cluster/ClusterState;java/lang/Throwable?java/io/IOException?$com/groupbyinc/flux/tasks/TaskResult?getTask&()Lcom/groupbyinc/flux/tasks/TaskInfo;??
??"com/groupbyinc/flux/tasks/TaskInfo?	getTaskId$()Lcom/groupbyinc/flux/tasks/TaskId;??
?? com/groupbyinc/flux/tasks/TaskId?toString?`
??prepareIndexn(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/action/index/IndexRequestBuilder;????#com/groupbyinc/flux/client/Requests?INDEX_CONTENT_TYPE?f	??3com/groupbyinc/flux/common/xcontent/XContentFactory?contentBuilderi(Lcom/groupbyinc/flux/common/xcontent/XContentType;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;??
??EMPTY_PARAMS7Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;??	?
toXContent?(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;??
??4com/groupbyinc/flux/action/index/IndexRequestBuilder?m(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;)Lcom/groupbyinc/flux/action/index/IndexRequestBuilder;??
??3com/groupbyinc/flux/common/xcontent/XContentBuilder?close?Q
??)com/groupbyinc/flux/action/ActionListener?
addSuppressed(Ljava/lang/Throwable;)V??
??*com/groupbyinc/flux/ElasticsearchException?1Couldn't convert task result to XContent for [{}]?java/lang/Object?=(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/Object;)V+
?\(Lcom/groupbyinc/flux/tasks/TaskResultsService;Lcom/groupbyinc/flux/action/ActionListener;)V+

??builder5Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;eLjava/io/IOException;6Lcom/groupbyinc/flux/action/index/IndexRequestBuilder;8()Lcom/groupbyinc/flux/common/settings/Settings$Builder;
INDEX_NUMBER_OF_SHARDS_SETTING-Lcom/groupbyinc/flux/common/settings/Setting;	?+com/groupbyinc/flux/common/settings/SettinggetKey`
putK(Ljava/lang/String;I)Lcom/groupbyinc/flux/common/settings/Settings$Builder;
"INDEX_AUTO_EXPAND_REPLICAS_SETTING	?0-1 \(Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/common/settings/Settings$Builder;"
#index.priority%???build(U
)java/lang/Exception+getClass()Ljava/lang/Class;-.
/java/lang/Class1getResourceAsStream)(Ljava/lang/String;)Ljava/io/InputStream;34
25java/io/ByteArrayOutputStream7
8R%com/groupbyinc/flux/common/io/Streams:copy.(Ljava/io/InputStream;Ljava/io/OutputStream;)J<=
;>5com/groupbyinc/flux/common/apache/lucene/util/IOUtils@UTF_8B	AC&(Ljava/lang/String;)Ljava/lang/String;?E
8Fjava/io/InputStreamH
I?logger!Lorg/apache/logging/log4j/Logger;KL	M"java/lang/invoke/LambdaMetafactoryOmetafactory?(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;QR
PST()Ljava/lang/Object;Vlambda$taskResultIndexMapping$0XV
YZget*()Lorg/apache/logging/log4j/util/Supplier;\]^org/apache/logging/log4j/Logger`error@(Lorg/apache/logging/log4j/util/Supplier;Ljava/lang/Throwable;)Vbcadjava/lang/IllegalStateExceptionfGfailed to create tasks results index template [task-index-mapping.json]h*(Ljava/lang/String;Ljava/lang/Throwable;)V+j
gkoutLjava/io/ByteArrayOutputStream;isLjava/io/InputStream;Ljava/lang/Exception;5org/apache/logging/log4j/message/ParameterizedMessager2failed to create tasks results index template [{}]t'(Ljava/lang/String;Ljava/lang/Object;)V+v
sw
access$000x0x1x2
ConstantValueCodeLocalVariableTableLineNumberTableRuntimeVisibleAnnotationsLocalVariableTypeTable
StackMapTable	Signaturef(Lcom/groupbyinc/flux/tasks/TaskResult;Lcom/groupbyinc/flux/action/ActionListener;)VBootstrapMethods
SourceFileInnerClasses!}}!"}$%&'()*+,~x*+?0*,?2*-?4*?6?4789:%&'()*?HI
JKL?-;<~x?*?4?BN-?H?N?L?PY?S:*?W?ZW?^W!*?b?h?lWn?qW*?6?Y*+,?t?z?\-?~??:??!???>*?2??????YS??!??*?b?h???	Y*+,?????	*+,???>=??hN???78??????????????BPRST'U/V>WFYZn]ohpur?s?t??????]D?R?????<~?	?*?2!+?ȶζӹ?N?ܸ?::+???W-??W?U????H:???<???4::?:?!????:???????:??Y??Y+??S??-?Y*,???>CF?#4Z?#4cotw?Zec???> k	?
?78???????[?????2??#?-?4?Z?c????????????a
?F??????G?H?????????????B???TU~d&??????!?$&'??*?&78?????"?%?_`~??*?0$?6LM?8Y?9N+-??X-?D?G:+?,?+?J?:,???+?J?N-M-?:+?,?+?J?:,???+?J?L*?N?_+?e?gYi+?l?+/2?#D?#ISWZ?DKIAl,Dll,*0mn
bopm
q?78?*
????#?A?D?I?m?|??\	?2I?8??
?I??D??I???
?,
XV~%
?sYu$?x???yr~E*+,??? z8{?|??7?UW[W??2	
		




© 2015 - 2024 Weber Informatics LLC | Privacy Policy