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<PutComponentTemplateAction.Request,AcknowledgedResponse>
org.elasticsearch.action.admin.indices.template.put.TransportPutComponentTemplateAction
public class TransportPutComponentTemplateAction extends TransportMasterNodeAction<PutComponentTemplateAction.Request,AcknowledgedResponse>
-
Field Summary
Fields inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
clusterService, indexNameExpressionResolver, threadPool, transportServiceFields inherited from class org.elasticsearch.action.support.TransportAction
actionName, taskManager -
Constructor Summary
Constructors Constructor Description TransportPutComponentTemplateAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, MetadataIndexTemplateService indexTemplateService, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, IndexScopedSettings indexScopedSettings) -
Method Summary
Modifier and Type Method Description protected ClusterBlockExceptioncheckBlock(PutComponentTemplateAction.Request request, ClusterState state)protected java.lang.Stringexecutor()protected voidmasterOperation(PutComponentTemplateAction.Request request, ClusterState state, ActionListener<AcknowledgedResponse> listener)protected AcknowledgedResponseread(StreamInput in)Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
doExecute, getMasterActionName, localExecute, masterOperationMethods 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
-
executor
protected java.lang.String executor()- Specified by:
executorin classTransportMasterNodeAction<PutComponentTemplateAction.Request,AcknowledgedResponse>
-
read
- Specified by:
readin classTransportMasterNodeAction<PutComponentTemplateAction.Request,AcknowledgedResponse>- Throws:
java.io.IOException
-
checkBlock
protected ClusterBlockException checkBlock(PutComponentTemplateAction.Request request, ClusterState state)- Specified by:
checkBlockin classTransportMasterNodeAction<PutComponentTemplateAction.Request,AcknowledgedResponse>
-
masterOperation
protected void masterOperation(PutComponentTemplateAction.Request request, ClusterState state, ActionListener<AcknowledgedResponse> listener)- Specified by:
masterOperationin classTransportMasterNodeAction<PutComponentTemplateAction.Request,AcknowledgedResponse>
-