Class MetadataIndexAliasesService
java.lang.Object
org.elasticsearch.cluster.metadata.MetadataIndexAliasesService
Service responsible for submitting add and remove aliases requests
-
Constructor Summary
ConstructorDescriptionMetadataIndexAliasesService(ClusterService clusterService, IndicesService indicesService, AliasValidator aliasValidator, MetadataDeleteIndexService deleteIndexService, org.elasticsearch.common.xcontent.NamedXContentRegistry xContentRegistry)
-
Method Summary
Modifier and TypeMethodDescriptionapplyAliasActions(ClusterState currentState, Iterable<AliasAction> actions)
Handles the cluster state transition to a version that reflects the providedAliasAction
s.void
indicesAliases(IndicesAliasesClusterStateUpdateRequest request, ActionListener<AcknowledgedResponse> listener)
-
Constructor Details
-
MetadataIndexAliasesService
@Inject public MetadataIndexAliasesService(ClusterService clusterService, IndicesService indicesService, AliasValidator aliasValidator, MetadataDeleteIndexService deleteIndexService, org.elasticsearch.common.xcontent.NamedXContentRegistry xContentRegistry)
-
-
Method Details
-
indicesAliases
public void indicesAliases(IndicesAliasesClusterStateUpdateRequest request, ActionListener<AcknowledgedResponse> listener) -
applyAliasActions
Handles the cluster state transition to a version that reflects the providedAliasAction
s.
-