com.groupbyinc.flux.cluster.metadata.MetaDataIndexTemplateService$2.class Maven / Gradle / Ivy
???? 4 Ccom/groupbyinc/flux/cluster/metadata/MetaDataIndexTemplateService$2 2com/groupbyinc/flux/cluster/ClusterStateUpdateTask !MetaDataIndexTemplateService.java Acom/groupbyinc/flux/cluster/metadata/MetaDataIndexTemplateService putTemplate ?(Lcom/groupbyinc/flux/cluster/metadata/MetaDataIndexTemplateService$PutRequest;Lcom/groupbyinc/flux/cluster/metadata/MetaDataIndexTemplateService$PutListener;)V Lcom/groupbyinc/flux/cluster/metadata/MetaDataIndexTemplateService$PutRequest
PutRequest Mcom/groupbyinc/flux/cluster/metadata/MetaDataIndexTemplateService$PutListener PutListener Bcom/groupbyinc/flux/cluster/metadata/IndexTemplateMetaData$Builder :com/groupbyinc/flux/cluster/metadata/IndexTemplateMetaData Builder java/util/Map$Entry
java/util/Map Entry 5com/groupbyinc/flux/cluster/metadata/MetaData$Builder -com/groupbyinc/flux/cluster/metadata/MetaData 9com/groupbyinc/flux/cluster/metadata/IndexMetaData$Custom 2com/groupbyinc/flux/cluster/metadata/IndexMetaData ! Custom Mcom/groupbyinc/flux/cluster/metadata/MetaDataIndexTemplateService$PutResponse $ PutResponse :com/groupbyinc/flux/cluster/metadata/AliasMetaData$Builder ' 2com/groupbyinc/flux/cluster/metadata/AliasMetaData ) 0com/groupbyinc/flux/cluster/ClusterState$Builder + (com/groupbyinc/flux/cluster/ClusterState - val$request NLcom/groupbyinc/flux/cluster/metadata/MetaDataIndexTemplateService$PutRequest; val$listener OLcom/groupbyinc/flux/cluster/metadata/MetaDataIndexTemplateService$PutListener; val$templateBuilder DLcom/groupbyinc/flux/cluster/metadata/IndexTemplateMetaData$Builder; this$0 CLcom/groupbyinc/flux/cluster/metadata/MetaDataIndexTemplateService; L(Lcom/groupbyinc/flux/cluster/metadata/MetaDataIndexTemplateService;Lcom/groupbyinc/flux/common/Priority;Lcom/groupbyinc/flux/cluster/metadata/MetaDataIndexTemplateService$PutRequest;Lcom/groupbyinc/flux/cluster/metadata/MetaDataIndexTemplateService$PutListener;Lcom/groupbyinc/flux/cluster/metadata/IndexTemplateMetaData$Builder;)V 5 6 9 / 0 ; 1 2 = 3 4 ? ((Lcom/groupbyinc/flux/common/Priority;)V 7 A
B this ELcom/groupbyinc/flux/cluster/metadata/MetaDataIndexTemplateService$2; priority %Lcom/groupbyinc/flux/common/Priority; timeout -()Lcom/groupbyinc/flux/common/unit/TimeValue;
masterTimeout +Lcom/groupbyinc/flux/common/unit/TimeValue; J K L onFailure *(Ljava/lang/String;Ljava/lang/Exception;)V (Ljava/lang/Exception;)V N P Q source Ljava/lang/String; e Ljava/lang/Exception; execute V(Lcom/groupbyinc/flux/cluster/ClusterState;)Lcom/groupbyinc/flux/cluster/ClusterState; java/lang/Exception Y create Z [ \ ] metaData 1()Lcom/groupbyinc/flux/cluster/metadata/MetaData; _ `
. a templates 7()Lcom/groupbyinc/flux/common/collect/ImmutableOpenMap; c d
e name g T h 3com/groupbyinc/flux/common/collect/ImmutableOpenMap j containsKey (Ljava/lang/Object;)Z l m
k n "java/lang/IllegalArgumentException p java/lang/StringBuilder r ()V 7 t
s u index_template [ w append -(Ljava/lang/String;)Ljava/lang/StringBuilder; y z
s { ] already exists } toString ()Ljava/lang/String; ?
s ? (Ljava/lang/String;)V 7 ?
q ?
access$000 q(Lcom/groupbyinc/flux/cluster/metadata/MetaDataIndexTemplateService;)Lcom/groupbyinc/flux/indices/IndicesService; ? ?
?
access$100 ?(Lcom/groupbyinc/flux/cluster/metadata/MetaDataIndexTemplateService;)Lcom/groupbyinc/flux/common/xcontent/NamedXContentRegistry; ? ?
?
access$200 ?(Lcom/groupbyinc/flux/cluster/metadata/MetaDataIndexTemplateService$PutRequest;Lcom/groupbyinc/flux/cluster/metadata/IndexTemplateMetaData$Builder;Lcom/groupbyinc/flux/indices/IndicesService;Lcom/groupbyinc/flux/common/xcontent/NamedXContentRegistry;)V ? ?
? aliases Ljava/util/List; ? ? ? java/util/List ? iterator ()Ljava/util/Iterator; ? ? ? ? java/util/Iterator ? hasNext ()Z ? ? ? ? next ()Ljava/lang/Object; ? ? ? ? 4com/groupbyinc/flux/action/admin/indices/alias/Alias ? g ?
? ? builder P(Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/metadata/AliasMetaData$Builder; ? ?
* ? filter ? ?
? ? ? ?
( ? indexRouting ? ?
? ? ? ?
( ?
searchRouting ? ?
? ? ? ?
( ? build 6()Lcom/groupbyinc/flux/cluster/metadata/AliasMetaData; ? ?
( ? putAlias z(Lcom/groupbyinc/flux/cluster/metadata/AliasMetaData;)Lcom/groupbyinc/flux/cluster/metadata/IndexTemplateMetaData$Builder; ? ?
? customs Ljava/util/Map; ? ? ? entrySet ()Ljava/util/Set; ? ? ?
java/util/Set ? ? ? getKey ? ? ? java/lang/String ? getValue ? ? ? putCustom ?(Ljava/lang/String;Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData$Custom;)Lcom/groupbyinc/flux/cluster/metadata/IndexTemplateMetaData$Builder; ? ?
? >()Lcom/groupbyinc/flux/cluster/metadata/IndexTemplateMetaData; ? ?
? h(Lcom/groupbyinc/flux/cluster/metadata/MetaData;)Lcom/groupbyinc/flux/cluster/metadata/MetaData$Builder; ? ?
? put u(Lcom/groupbyinc/flux/cluster/metadata/IndexTemplateMetaData;)Lcom/groupbyinc/flux/cluster/metadata/MetaData$Builder; ? ?
? ^(Lcom/groupbyinc/flux/cluster/ClusterState;)Lcom/groupbyinc/flux/cluster/ClusterState$Builder; ? ?
. ? k(Lcom/groupbyinc/flux/cluster/metadata/MetaData$Builder;)Lcom/groupbyinc/flux/cluster/ClusterState$Builder; _ ?
, ? ,()Lcom/groupbyinc/flux/cluster/ClusterState; ? ?
, ?
aliasMetaData 4Lcom/groupbyinc/flux/cluster/metadata/AliasMetaData; alias 6Lcom/groupbyinc/flux/action/admin/indices/alias/Alias; entry dLjava/util/Map$Entry; Ljava/util/Map$Entry; currentState *Lcom/groupbyinc/flux/cluster/ClusterState; template