Module org.elasticsearch.server
Class MetadataIndexAliasesService
java.lang.Object
org.elasticsearch.cluster.metadata.MetadataIndexAliasesService
Service responsible for submitting add and remove aliases requests
-
Constructor Summary
ConstructorsConstructorDescriptionMetadataIndexAliasesService(ClusterService clusterService, IndicesService indicesService, NamedXContentRegistry xContentRegistry) -
Method Summary
Modifier and TypeMethodDescriptionapplyAliasActions(ProjectState projectState, Iterable<AliasAction> actions) Handles the cluster state transition to a version that reflects the providedAliasActions.voidindicesAliases(IndicesAliasesClusterStateUpdateRequest request, ActionListener<IndicesAliasesResponse> listener)
-
Constructor Details
-
MetadataIndexAliasesService
@Inject public MetadataIndexAliasesService(ClusterService clusterService, IndicesService indicesService, NamedXContentRegistry xContentRegistry)
-
-
Method Details
-
indicesAliases
public void indicesAliases(IndicesAliasesClusterStateUpdateRequest request, ActionListener<IndicesAliasesResponse> listener) -
applyAliasActions
Handles the cluster state transition to a version that reflects the providedAliasActions.
-