Class TransportPutComponentTemplateAction
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<PutComponentTemplateAction.Request>
org.elasticsearch.action.admin.indices.template.put.TransportPutComponentTemplateAction
public class TransportPutComponentTemplateAction
extends AcknowledgedTransportMasterNodeAction<PutComponentTemplateAction.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
ConstructorDescriptionTransportPutComponentTemplateAction
(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, MetadataIndexTemplateService indexTemplateService, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, IndexScopedSettings indexScopedSettings) -
Method Summary
Modifier and TypeMethodDescriptionprotected ClusterBlockException
checkBlock
(PutComponentTemplateAction.Request request, ClusterState state) protected void
masterOperation
(PutComponentTemplateAction.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
-
TransportPutComponentTemplateAction
@Inject public TransportPutComponentTemplateAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, MetadataIndexTemplateService indexTemplateService, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, IndexScopedSettings indexScopedSettings)
-
-
Method Details
-
checkBlock
protected ClusterBlockException checkBlock(PutComponentTemplateAction.Request request, ClusterState state) - Specified by:
checkBlock
in classTransportMasterNodeAction<PutComponentTemplateAction.Request,
AcknowledgedResponse>
-
masterOperation
protected void masterOperation(PutComponentTemplateAction.Request request, ClusterState state, ActionListener<AcknowledgedResponse> listener) - Specified by:
masterOperation
in classTransportMasterNodeAction<PutComponentTemplateAction.Request,
AcknowledgedResponse>
-