Class TransportPutComposableIndexTemplateAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<Request,Response>
org.elasticsearch.action.support.HandledTransportAction<Request,Response>
org.elasticsearch.action.support.master.TransportMasterNodeAction<Request,AcknowledgedResponse>
org.elasticsearch.action.support.master.AcknowledgedTransportMasterNodeAction<PutComposableIndexTemplateAction.Request>
org.elasticsearch.action.admin.indices.template.put.TransportPutComposableIndexTemplateAction
public class TransportPutComposableIndexTemplateAction
extends AcknowledgedTransportMasterNodeAction<PutComposableIndexTemplateAction.Request>
-
Field Summary
Fields inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
clusterService, executor, indexNameExpressionResolver, threadPool, transportService
Fields inherited from class org.elasticsearch.action.support.TransportAction
actionName, localConnection, taskManager
-
Constructor Summary
ConstructorDescriptionTransportPutComposableIndexTemplateAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, MetadataIndexTemplateService indexTemplateService, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver)
-
Method Summary
Modifier and TypeMethodDescriptionprotected ClusterBlockException
checkBlock(PutComposableIndexTemplateAction.Request request, ClusterState state)
protected void
masterOperation(PutComposableIndexTemplateAction.Request request, ClusterState state, ActionListener<AcknowledgedResponse> listener)
Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
doExecute, getMasterActionName, localExecute, masterOperation
Methods inherited from class org.elasticsearch.action.support.TransportAction
execute, execute, execute
-
Constructor Details
-
TransportPutComposableIndexTemplateAction
@Inject public TransportPutComposableIndexTemplateAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, MetadataIndexTemplateService indexTemplateService, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver)
-
-
Method Details
-
checkBlock
protected ClusterBlockException checkBlock(PutComposableIndexTemplateAction.Request request, ClusterState state)- Specified by:
checkBlock
in classTransportMasterNodeAction<PutComposableIndexTemplateAction.Request,AcknowledgedResponse>
-
masterOperation
protected void masterOperation(PutComposableIndexTemplateAction.Request request, ClusterState state, ActionListener<AcknowledgedResponse> listener)- Specified by:
masterOperation
in classTransportMasterNodeAction<PutComposableIndexTemplateAction.Request,AcknowledgedResponse>
-