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#&TASK_RESULT_MAPPING_VERSION_META_FIELDversion&TASK_RESULT_MAPPING_VERSIONIclient#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14
5+,	7-.	9/0	;this.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/ClusterServiceCstate,()Lcom/groupbyinc/flux/cluster/ClusterState;EF
DG(com/groupbyinc/flux/cluster/ClusterStateIroutingTable4()Lcom/groupbyinc/flux/cluster/routing/RoutingTable;KL
JM0com/groupbyinc/flux/cluster/routing/RoutingTableOhasIndex(Ljava/lang/String;)ZQR
PSBcom/groupbyinc/flux/action/admin/indices/create/CreateIndexRequestU()V1W
VXtaskResultIndexSettings0()Lcom/groupbyinc/flux/common/settings/Settings;Z[
\t(Lcom/groupbyinc/flux/common/settings/Settings;)Lcom/groupbyinc/flux/action/admin/indices/create/CreateIndexRequest;?^
V_indexX(Ljava/lang/String;)Lcom/groupbyinc/flux/action/admin/indices/create/CreateIndexRequest;ab
VctaskResultIndexMapping()Ljava/lang/String;ef
g0com/groupbyinc/flux/common/xcontent/XContentTypeiJSON2Lcom/groupbyinc/flux/common/xcontent/XContentType;kl	jmmapping?(Ljava/lang/String;Ljava/lang/String;Lcom/groupbyinc/flux/common/xcontent/XContentType;)Lcom/groupbyinc/flux/action/admin/indices/create/CreateIndexRequest;op
Vqauto(task api)scauseub
Vv?(Lcom/groupbyinc/flux/tasks/TaskResultsService;Lcom/groupbyinc/flux/tasks/TaskResult;Lcom/groupbyinc/flux/action/ActionListener;)V1x
yJcom/groupbyinc/flux/action/admin/indices/create/TransportCreateIndexAction{executex(Lcom/groupbyinc/flux/tasks/Task;Lcom/groupbyinc/flux/action/ActionRequest;Lcom/groupbyinc/flux/action/ActionListener;)V}~
|getMetaData1()Lcom/groupbyinc/flux/cluster/metadata/MetaData;??
J?-com/groupbyinc/flux/cluster/metadata/MetaData?H(Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData;a?
??getTaskResultMappingVersion7(Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData;)I??
?!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;??
??
	y.(Lcom/groupbyinc/flux/action/ActionListener;)V}?
??2com/groupbyinc/flux/cluster/metadata/IndexMetaData?
doStoreResult?B
?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;getMappings7()Lcom/groupbyinc/flux/common/collect/ImmutableOpenMap;??
??3com/groupbyinc/flux/common/collect/ImmutableOpenMap?get&(Ljava/lang/Object;)Ljava/lang/Object;??
??4com/groupbyinc/flux/cluster/metadata/MappingMetaData?sourceAsMap()Ljava/util/Map;??
??_meta?
java/util/Map???containsKey(Ljava/lang/Object;)Z????java/lang/Integer?intValue()I??
??mappingMetaData6Lcom/groupbyinc/flux/cluster/metadata/MappingMetaData;meta5Ljava/util/Map;Ljava/util/Map;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?f
??prepareIndexn(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/action/index/IndexRequestBuilder;????#com/groupbyinc/flux/client/Requests?INDEX_CONTENT_TYPE?l	??3com/groupbyinc/flux/common/xcontent/XContentFactorycontentBuilderi(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/IndexRequestBuilderm(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;)Lcom/groupbyinc/flux/action/index/IndexRequestBuilder;?
$closeResource1(Ljava/lang/Throwable;Ljava/lang/AutoCloseable;)V
)com/groupbyinc/flux/action/ActionListener3com/groupbyinc/flux/common/xcontent/XContentBuilder*com/groupbyinc/flux/ElasticsearchException1Couldn't convert task result to XContent for [{}]java/lang/Object =(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/Object;)V1"
#\(Lcom/groupbyinc/flux/tasks/TaskResultsService;Lcom/groupbyinc/flux/action/ActionListener;)V1%
&
?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;12	?3+com/groupbyinc/flux/common/settings/Setting5getKey7f
68putK(Ljava/lang/String;I)Lcom/groupbyinc/flux/common/settings/Settings$Builder;:;
<"INDEX_AUTO_EXPAND_REPLICAS_SETTING>2	??0-1A\(Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/common/settings/Settings$Builder;:C
Dindex.priorityF???buildI[
Jjava/lang/ExceptionLgetClass()Ljava/lang/Class;NO
!Pjava/lang/ClassRgetResourceAsStream)(Ljava/lang/String;)Ljava/io/InputStream;TU
SVjava/io/ByteArrayOutputStreamX
YX,com/groupbyinc/flux/core/internal/io/Streams[copy.(Ljava/io/InputStream;Ljava/io/OutputStream;)J]^
\_!java/nio/charset/StandardCharsetsaUTF_8Ljava/nio/charset/Charset;cd	bejava/nio/charset/Charsetgnameif
hj&(Ljava/lang/String;)Ljava/lang/String;?l
Ymjava/io/InputStreamologger!Lorg/apache/logging/log4j/Logger;qr	s"java/lang/invoke/LambdaMetafactoryumetafactory?(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;wx
vyz,()Lorg/apache/logging/log4j/message/Message;|lambda$taskResultIndexMapping$0~|
?1()Lorg/apache/logging/log4j/util/MessageSupplier;???org/apache/logging/log4j/Logger?errorG(Lorg/apache/logging/log4j/util/MessageSupplier;Ljava/lang/Throwable;)V????java/lang/IllegalStateException?Gfailed to create tasks results index template [task-index-mapping.json]?*(Ljava/lang/String;Ljava/lang/Throwable;)V1?
??outLjava/io/ByteArrayOutputStream;isLjava/io/InputStream;Ljava/lang/Exception;5org/apache/logging/log4j/message/ParameterizedMessage?2failed to create tasks results index template [{}]?'(Ljava/lang/String;Ljava/lang/Object;)V1?
??
access$000x0x1x2java/lang/AutoCloseable?close?W??
addSuppressed(Ljava/lang/Throwable;)V??
??Ljava/lang/Throwable;Ljava/lang/AutoCloseable;
ConstantValueCodeLocalVariableTableLineNumberTableRuntimeVisibleAnnotationsLocalVariableTypeTable
StackMapTable	Signaturef(Lcom/groupbyinc/flux/tasks/TaskResult;Lcom/groupbyinc/flux/action/ActionListener;)VBootstrapMethods
SourceFileInnerClasses!??!"?$%?'()?*+,-./0	12?x*+?6*,?8*-?:*??@+,-./0?MN
OPQ?3AB?u?*?:?HN-?N?T?L?VY?Y:*?]?`W?dW!*?h?n?rWt?wW*?<?Y*+,?z???Y-????:*???>*?8??????YS??!??*?h?n???	Y*+,?????	*+,????>=??hK???=>???????E??????BUWXY'Z/[>\F^Zs]thurw?x?y??????]J?O????????B+??!????M,??,??й???N-?-'????-'???ٶݬ?*B=>B??
5??" ???" ????
???"?1?3???????B???*?8!+??????N??::+?
?W-?W?'??::?:?
???:?Y?!Y+??S?$?-?Y*,?'?(?#4C?#4LCNL]`??> =)*b+,?=>??????pa-?????2??#?-?4?C?L?]?`?b?z????A?C???H??
???B???Z[?d&?0?4?9?=?@?9B?EGH?=?K??&=>?????"?%?ef??a*?Q$?WLM?YY?ZN+-?`X-?f?k?n:+?,+??N-M-?:+?,+??L*?t??+????Y?+???&2?&7297/EM2EEM?*??
;??F+?a=>?*
????&?/?2?7?F?U??D?/p?Y??p??D??
??M
~|?%
??Y?$??????x?E*+,???? ?>?????8
?g*?+???M*,???	+???

?????????M??{}?}??2	
		




© 2015 - 2024 Weber Informatics LLC | Privacy Policy