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

com.groupbyinc.flux.action.admin.indices.rollover.TransportRolloverAction.class Maven / Gradle / Ivy

There is a newer version: 129
Show newest version
????4qIcom/groupbyinc/flux/action/admin/indices/rollover/TransportRolloverAction?Lcom/groupbyinc/flux/action/support/master/TransportMasterNodeAction;Ccom/groupbyinc/flux/action/support/master/TransportMasterNodeActionTransportRolloverAction.javaKcom/groupbyinc/flux/action/admin/indices/rollover/TransportRolloverAction$1Acom/groupbyinc/flux/action/admin/indices/rollover/Condition$Stats	;com/groupbyinc/flux/action/admin/indices/rollover/ConditionStatsBcom/groupbyinc/flux/action/admin/indices/rollover/Condition$ResultResult/com/groupbyinc/flux/threadpool/ThreadPool$Names)com/groupbyinc/flux/threadpool/ThreadPoolNames4com/groupbyinc/flux/cluster/metadata/AliasAction$Add0com/groupbyinc/flux/cluster/metadata/AliasActionAdd7com/groupbyinc/flux/cluster/metadata/AliasAction$RemoveRemove%java/lang/invoke/MethodHandles$Lookupjava/lang/invoke/MethodHandles LookupINDEX_NAME_PATTERNLjava/util/regex/Pattern;createIndexServiceALcom/groupbyinc/flux/cluster/metadata/MetaDataCreateIndexService;indexAliasesServiceBLcom/groupbyinc/flux/cluster/metadata/MetaDataIndexAliasesService;activeShardsObserver9Lcom/groupbyinc/flux/action/support/ActiveShardsObserver;client#Lcom/groupbyinc/flux/client/Client;$assertionsDisabledZ?(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/transport/TransportService;Lcom/groupbyinc/flux/cluster/service/ClusterService;Lcom/groupbyinc/flux/threadpool/ThreadPool;Lcom/groupbyinc/flux/cluster/metadata/MetaDataCreateIndexService;Lcom/groupbyinc/flux/action/support/ActionFilters;Lcom/groupbyinc/flux/cluster/metadata/IndexNameExpressionResolver;Lcom/groupbyinc/flux/cluster/metadata/MetaDataIndexAliasesService;Lcom/groupbyinc/flux/client/Client;)V*Lcom/groupbyinc/flux/common/inject/Inject;indices:admin/rollover2"java/lang/invoke/LambdaMetafactory4metafactory?(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;67
589()Ljava/lang/Object;;Acom/groupbyinc/flux/action/admin/indices/rollover/RolloverRequest=()V/?
>@AE()Lcom/groupbyinc/flux/action/admin/indices/rollover/RolloverRequest;Cget()Ljava/util/function/Supplier;EFGc(Lcom/groupbyinc/flux/common/settings/Settings;Ljava/lang/String;Lcom/groupbyinc/flux/transport/TransportService;Lcom/groupbyinc/flux/cluster/service/ClusterService;Lcom/groupbyinc/flux/threadpool/ThreadPool;Lcom/groupbyinc/flux/action/support/ActionFilters;Lcom/groupbyinc/flux/cluster/metadata/IndexNameExpressionResolver;Ljava/util/function/Supplier;)V/I
J%&	L'(	N+,	P7com/groupbyinc/flux/action/support/ActiveShardsObserverR?(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/cluster/service/ClusterService;Lcom/groupbyinc/flux/threadpool/ThreadPool;)V/T
SU)*	WthisKLcom/groupbyinc/flux/action/admin/indices/rollover/TransportRolloverAction;settings.Lcom/groupbyinc/flux/common/settings/Settings;transportService0Lcom/groupbyinc/flux/transport/TransportService;clusterService4Lcom/groupbyinc/flux/cluster/service/ClusterService;
threadPool+Lcom/groupbyinc/flux/threadpool/ThreadPool;
actionFilters2Lcom/groupbyinc/flux/action/support/ActionFilters;indexNameExpressionResolverBLcom/groupbyinc/flux/cluster/metadata/IndexNameExpressionResolver;executor()Ljava/lang/String;sameinewResponseF()Lcom/groupbyinc/flux/action/admin/indices/rollover/RolloverResponse;Bcom/groupbyinc/flux/action/admin/indices/rollover/RolloverResponsem
n@
checkBlock?(Lcom/groupbyinc/flux/action/admin/indices/rollover/RolloverRequest;Lcom/groupbyinc/flux/cluster/ClusterState;)Lcom/groupbyinc/flux/cluster/block/ClusterBlockException;indicesOptions5()Lcom/groupbyinc/flux/action/support/IndicesOptions;rs
>t1com/groupbyinc/flux/action/support/IndicesOptionsvexpandWildcardsOpen()Zxy
wzexpandWildcardsClosed|y
w}fromOptions9(ZZZZ)Lcom/groupbyinc/flux/action/support/IndicesOptions;?
w?(com/groupbyinc/flux/cluster/ClusterState?blocks3()Lcom/groupbyinc/flux/cluster/block/ClusterBlocks;??
??3com/groupbyinc/flux/cluster/block/ClusterBlockLevel?METADATA_WRITE5Lcom/groupbyinc/flux/cluster/block/ClusterBlockLevel;??	??ef	?indices()[Ljava/lang/String;??
>?@com/groupbyinc/flux/cluster/metadata/IndexNameExpressionResolver?concreteIndexNames?(Lcom/groupbyinc/flux/cluster/ClusterState;Lcom/groupbyinc/flux/action/support/IndicesOptions;[Ljava/lang/String;)[Ljava/lang/String;??
??/com/groupbyinc/flux/cluster/block/ClusterBlocks?indicesBlockedException?(Lcom/groupbyinc/flux/cluster/block/ClusterBlockLevel;[Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/block/ClusterBlockException;??
??requestCLcom/groupbyinc/flux/action/admin/indices/rollover/RolloverRequest;state*Lcom/groupbyinc/flux/cluster/ClusterState;3Lcom/groupbyinc/flux/action/support/IndicesOptions;masterOperation?(Lcom/groupbyinc/flux/action/admin/indices/rollover/RolloverRequest;Lcom/groupbyinc/flux/cluster/ClusterState;Lcom/groupbyinc/flux/action/ActionListener;)VmetaData1()Lcom/groupbyinc/flux/cluster/metadata/MetaData;??
??validateu(Lcom/groupbyinc/flux/cluster/metadata/MetaData;Lcom/groupbyinc/flux/action/admin/indices/rollover/RolloverRequest;)V??
?-com/groupbyinc/flux/cluster/metadata/MetaData?getAliasAndIndexLookup()Ljava/util/SortedMap;??
??getAlias?h
>?java/util/SortedMap?&(Ljava/lang/Object;)Ljava/lang/Object;E???1com/groupbyinc/flux/cluster/metadata/AliasOrIndex?
getIndices()Ljava/util/List;????java/util/List?(I)Ljava/lang/Object;E???2com/groupbyinc/flux/cluster/metadata/IndexMetaData?getSettings0()Lcom/groupbyinc/flux/common/settings/Settings;??
??index.provided_name?getIndex#()Lcom/groupbyinc/flux/index/Index;??
??com/groupbyinc/flux/index/Index?getName?h
??,com/groupbyinc/flux/common/settings/Settings?8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;E?
??getNewIndexName?h
>?)com/groupbyinc/flux/action/ActionListener?java/lang/String?generateRolloverIndexNameh(Ljava/lang/String;Lcom/groupbyinc/flux/cluster/metadata/IndexNameExpressionResolver;)Ljava/lang/String;??
?resolveDateMathExpression&(Ljava/lang/String;)Ljava/lang/String;??
???com/groupbyinc/flux/cluster/metadata/MetaDataCreateIndexService?validateIndexName?(Ljava/lang/String;Lcom/groupbyinc/flux/cluster/ClusterState;)V??
??!com/groupbyinc/flux/client/Client?admin*()Lcom/groupbyinc/flux/client/AdminClient;????&com/groupbyinc/flux/client/AdminClient?1()Lcom/groupbyinc/flux/client/IndicesAdminClient;????-com/groupbyinc/flux/client/IndicesAdminClient?prepareStats`([Ljava/lang/String;)Lcom/groupbyinc/flux/action/admin/indices/stats/IndicesStatsRequestBuilder;Icom/groupbyinc/flux/action/admin/indices/stats/IndicesStatsRequestBuilderclearM()Lcom/groupbyinc/flux/action/admin/indices/stats/IndicesStatsRequestBuilder;
	setDocsN(Z)Lcom/groupbyinc/flux/action/admin/indices/stats/IndicesStatsRequestBuilder;

!(Lcom/groupbyinc/flux/action/admin/indices/rollover/TransportRolloverAction;Lcom/groupbyinc/flux/action/admin/indices/rollover/RolloverRequest;Lcom/groupbyinc/flux/cluster/metadata/MetaData;Ljava/lang/String;Lcom/groupbyinc/flux/action/ActionListener;Ljava/lang/String;Ljava/lang/String;)V/
execute.(Lcom/groupbyinc/flux/action/ActionListener;)V
rolloverRequestlistenerqLcom/groupbyinc/flux/action/ActionListener;+Lcom/groupbyinc/flux/action/ActionListener;/Lcom/groupbyinc/flux/cluster/metadata/MetaData;aliasOrIndex3Lcom/groupbyinc/flux/cluster/metadata/AliasOrIndex;
indexMetaData4Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData;sourceProvidedNameLjava/lang/String;sourceIndexNameunresolvedNamerolloverIndexName#prepareRolloverAliasesUpdateRequest?(Ljava/lang/String;Ljava/lang/String;Lcom/groupbyinc/flux/action/admin/indices/rollover/RolloverRequest;)Lcom/groupbyinc/flux/action/admin/indices/alias/IndicesAliasesClusterStateUpdateRequest;](Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V/&
''(Ljava/lang/String;Ljava/lang/String;)V/)
*java/util/Arrays,asList%([Ljava/lang/Object;)Ljava/util/List;./
-0java/util/Collections2unmodifiableList"(Ljava/util/List;)Ljava/util/List;45
36Vcom/groupbyinc/flux/action/admin/indices/alias/IndicesAliasesClusterStateUpdateRequest8(Ljava/util/List;)V/:
9;
ackTimeout-()Lcom/groupbyinc/flux/common/unit/TimeValue;=>
>?h(Lcom/groupbyinc/flux/common/unit/TimeValue;)Lcom/groupbyinc/flux/cluster/ack/ClusterStateUpdateRequest;=A
9BmasterNodeTimeoutD>
>EDA
9GoldIndexnewIndexactionsDLjava/util/List;Ljava/util/List;
updateRequestXLcom/groupbyinc/flux/action/admin/indices/alias/IndicesAliasesClusterStateUpdateRequest;equals(Ljava/lang/Object;)ZPQ
?R#$	Tjava/util/regex/PatternVmatcher3(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;XY
WZjava/util/regex/Matcher\matches^y
]_-alastIndexOf(Ljava/lang/String;)Icd
?e-.	gjava/lang/AssertionErrorino separator '-' foundk(Ljava/lang/Object;)V/m
jnlength()Ipq
?r	substring(II)Ljava/lang/String;tu
?vjava/lang/IntegerxparseIntzd
y{java/lang/StringBuilder}
~@append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
~?java/util/Locale?ROOTLjava/util/Locale;??	??%06d?java/lang/Object?valueOf(I)Ljava/lang/Integer;??
y?formatK(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;??
??>??toString?h
~?"java/lang/IllegalArgumentException?index name [?#] does not match pattern '^.*-\d+$'?(Ljava/lang/String;)V/?
??numberIndexIcounternewNameresolvedName
isDateMathevaluateConditions(Ljava/util/Set;Lcom/groupbyinc/flux/index/shard/DocsStats;Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData;)Ljava/util/Set;)com/groupbyinc/flux/index/shard/DocsStats?getCount()J??
??getCreationDate??
??(JJ)V/?

?
java/util/Set?stream()Ljava/util/stream/Stream;?????lambda$evaluateConditions$0?(Lcom/groupbyinc/flux/action/admin/indices/rollover/Condition$Stats;Lcom/groupbyinc/flux/action/admin/indices/rollover/Condition;)Lcom/groupbyinc/flux/action/admin/indices/rollover/Condition$Result;??
???(Lcom/groupbyinc/flux/action/admin/indices/rollover/Condition;)Lcom/groupbyinc/flux/action/admin/indices/rollover/Condition$Result;?applyb(Lcom/groupbyinc/flux/action/admin/indices/rollover/Condition$Stats;)Ljava/util/function/Function;???java/util/stream/Stream?map8(Ljava/util/function/Function;)Ljava/util/stream/Stream;????java/util/stream/Collectors?toSet()Ljava/util/stream/Collector;??
??collect0(Ljava/util/stream/Collector;)Ljava/lang/Object;????
conditionsNLjava/util/Set;Ljava/util/Set;	docsStats+Lcom/groupbyinc/flux/index/shard/DocsStats;numDocsJstatsCLcom/groupbyinc/flux/action/admin/indices/rollover/Condition$Stats;?(Ljava/util/Set;Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData;Lcom/groupbyinc/flux/action/admin/indices/stats/IndicesStatsResponse;)Ljava/util/Set;Ccom/groupbyinc/flux/action/admin/indices/stats/IndicesStatsResponse?getPrimaries>()Lcom/groupbyinc/flux/action/admin/indices/stats/CommonStats;??
??:com/groupbyinc/flux/action/admin/indices/stats/CommonStats?getDocs-()Lcom/groupbyinc/flux/index/shard/DocsStats;??
????
?
statsResponseELcom/groupbyinc/flux/action/admin/indices/stats/IndicesStatsResponse;source alias does not exist?isAlias?y?? source alias is a concrete index?size?q??%source alias maps to multiple indicesprepareCreateIndexRequest?(Ljava/lang/String;Ljava/lang/String;Lcom/groupbyinc/flux/action/admin/indices/rollover/RolloverRequest;)Lcom/groupbyinc/flux/action/admin/indices/create/CreateIndexClusterStateUpdateRequest;getCreateIndexRequestF()Lcom/groupbyinc/flux/action/admin/indices/create/CreateIndexRequest;
>rollover_indexBcom/groupbyinc/flux/action/admin/indices/create/CreateIndexRequest
causeX(Ljava/lang/String;)Lcom/groupbyinc/flux/action/admin/indices/create/CreateIndexRequest;
index
Tcom/groupbyinc/flux/action/admin/indices/create/CreateIndexClusterStateUpdateRequestj(Lcom/groupbyinc/flux/transport/TransportMessage;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)V/
timeout>

B
E
G[?
?(Lcom/groupbyinc/flux/common/settings/Settings;)Lcom/groupbyinc/flux/action/admin/indices/create/CreateIndexClusterStateUpdateRequest;[ 
!aliases()Ljava/util/Set;#$
%g(Ljava/util/Set;)Lcom/groupbyinc/flux/action/admin/indices/create/CreateIndexClusterStateUpdateRequest;#'
(3com/groupbyinc/flux/action/support/ActiveShardCount*NONE5Lcom/groupbyinc/flux/action/support/ActiveShardCount;,-	+.waitForActiveShards?(Lcom/groupbyinc/flux/action/support/ActiveShardCount;)Lcom/groupbyinc/flux/action/admin/indices/create/CreateIndexClusterStateUpdateRequest;01
2mappings()Ljava/util/Map;45
6g(Ljava/util/Map;)Lcom/groupbyinc/flux/action/admin/indices/create/CreateIndexClusterStateUpdateRequest;48
9providedIndexNametargetIndexNamecreateIndexRequestDLcom/groupbyinc/flux/action/admin/indices/create/CreateIndexRequest;?(Lcom/groupbyinc/flux/action/support/master/MasterNodeRequest;Lcom/groupbyinc/flux/cluster/ClusterState;)Lcom/groupbyinc/flux/cluster/block/ClusterBlockException;pq
@?(Lcom/groupbyinc/flux/action/support/master/MasterNodeRequest;Lcom/groupbyinc/flux/cluster/ClusterState;Lcom/groupbyinc/flux/action/ActionListener;)Vjava/lang/ExceptionC??
E-()Lcom/groupbyinc/flux/action/ActionResponse;kl
Hevaluate?(Lcom/groupbyinc/flux/action/admin/indices/rollover/Condition$Stats;)Lcom/groupbyinc/flux/action/admin/indices/rollover/Condition$Result;JK
L	condition=Lcom/groupbyinc/flux/action/admin/indices/rollover/Condition;
access$000?(Lcom/groupbyinc/flux/action/admin/indices/rollover/TransportRolloverAction;)Lcom/groupbyinc/flux/cluster/metadata/MetaDataCreateIndexService;x0
access$100?(Lcom/groupbyinc/flux/action/admin/indices/rollover/TransportRolloverAction;)Lcom/groupbyinc/flux/cluster/metadata/MetaDataIndexAliasesService;
access$200?(Lcom/groupbyinc/flux/action/admin/indices/rollover/TransportRolloverAction;)Lcom/groupbyinc/flux/action/support/ActiveShardsObserver;java/lang/ClassXdesiredAssertionStatusZy
Y[^.*-\d+$]compile-(Ljava/lang/String;)Ljava/util/regex/Pattern;_`
WaCodeLocalVariableTableLineNumberTableRuntimeVisibleAnnotationsLocalVariableTypeTable
StackMapTable	Signature?(Lcom/groupbyinc/flux/action/admin/indices/rollover/RolloverRequest;Lcom/groupbyinc/flux/cluster/ClusterState;Lcom/groupbyinc/flux/action/ActionListener;)V(Ljava/util/Set;Lcom/groupbyinc/flux/index/shard/DocsStats;Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData;)Ljava/util/Set;(Ljava/util/Set;Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData;Lcom/groupbyinc/flux/action/admin/indices/stats/IndicesStatsResponse;)Ljava/util/Set;
ExceptionsBootstrapMethods
SourceFileInnerClasses!#$%&'()*+,-./0c?	
6*+3,-?H?K*?M*?O*	?Q*?SY+-?V?X?df
6YZ6[\6]^6_`6ab6%&6cd6ef6'(6+,	eKMN O&P5Qf1ghc-j?dYZeVklc2?nY?o?dYZe[pqc?,+?u?{+?u?~??N,????*??,-+???????d*,YZ,??,??r?e`a`b"c(b??c?
?,??:+????+??????:??????:????Զٶ?:?Զ?:+???
+??*????:	*??	??:

,??*?Q??????YS??
??Y*+-
	???dp?YZ?????????1?Em Oc! hJ" 	s?# 
g?e>ijkl1m:n@mEoOpWqcrhsstyu??h(?]	>???????H?ij$%c?
M?Y?Y+,???(SY?Y*,???+S?1?7N?9Y-?<,?@?C?9,?F?H?9:?d4MI MJ M??,!KMJNOg,!KLe"???%?,?5???J???c??+*??M*,?S??>?U,?[?`??*b?f6?h???jYl?o?*`?*?sd?*?s?w?|6?~Y?*?w??b???????Y???S?????	???????:???Y?~Y????*??????????dH*??_J???? ?! ?ef?? ??.e.???!?*?A?T?W?_?????hn??@?-???????????C???~????~??
??c?9+?	?+??B?
Y!,????:*???????׹????d49??9??9?
,????g9??e?
??(?-?8?hCik??c]
*,???+??d 
??
?
??g
??e?il??c?O*??+??????M,???Y????,?????Y????,???????Y????d O?O??>e"??? ?)?4?C?N?h
? ?c?Q,?N-	?W-+?W?Y-	+*?-???-???-??"-?&?)?/?3-?7?:?d*Q; Q< Q?L=>e.??
??"?,?6?=?F?J?P?Dp?c4
*+?>,?A?d
YZe>D?Bc5*+?>,-?F?dYZe>mDDkGc/*?I?dYZe>
??c:+*?M?d??NOe?PQc/*?M?dRZe>STc/*?O?dRZe>UVc/*?X?dRZe>W?cA?\???h^?b?U?e
>@h@n:<BD:???iop:

					!"




© 2015 - 2025 Weber Informatics LLC | Privacy Policy