Module org.elasticsearch.server
Class TransportPutIndexTemplateAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<PutIndexTemplateRequest,AcknowledgedResponse>
org.elasticsearch.action.support.HandledTransportAction<PutIndexTemplateRequest,AcknowledgedResponse>
org.elasticsearch.action.support.master.TransportMasterNodeAction<PutIndexTemplateRequest,AcknowledgedResponse>
org.elasticsearch.action.support.master.AcknowledgedTransportMasterNodeAction<PutIndexTemplateRequest>
org.elasticsearch.action.admin.indices.template.put.TransportPutIndexTemplateAction
- All Implemented Interfaces:
ActionWithReservedState<PutIndexTemplateRequest>
public class TransportPutIndexTemplateAction
extends AcknowledgedTransportMasterNodeAction<PutIndexTemplateRequest>
Put index template action.
-
Field Summary
FieldsFields inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
clusterService, executor, threadPool, transportServiceFields inherited from class org.elasticsearch.action.support.TransportAction
actionName, taskManager -
Constructor Summary
ConstructorsConstructorDescriptionTransportPutIndexTemplateAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, MetadataIndexTemplateService indexTemplateService, ActionFilters actionFilters, ProjectResolver projectResolver, IndexScopedSettings indexScopedSettings) -
Method Summary
Modifier and TypeMethodDescriptionprotected ClusterBlockExceptioncheckBlock(PutIndexTemplateRequest request, ClusterState state) protected voidmasterOperation(Task task, PutIndexTemplateRequest request, ClusterState state, ActionListener<AcknowledgedResponse> listener) Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
doExecute, localExecute, validateForReservedStateMethods inherited from class org.elasticsearch.action.support.TransportAction
execute, executeDirect, localOnlyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.reservedstate.ActionWithReservedState
modifiedKeys, reservedStateHandlerName, validateForReservedState
-
Field Details
-
TYPE
-
-
Constructor Details
-
TransportPutIndexTemplateAction
@Inject public TransportPutIndexTemplateAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, MetadataIndexTemplateService indexTemplateService, ActionFilters actionFilters, ProjectResolver projectResolver, IndexScopedSettings indexScopedSettings)
-
-
Method Details
-
checkBlock
- Specified by:
checkBlockin classTransportMasterNodeAction<PutIndexTemplateRequest,AcknowledgedResponse>
-
masterOperation
protected void masterOperation(Task task, PutIndexTemplateRequest request, ClusterState state, ActionListener<AcknowledgedResponse> listener) throws IOException - Specified by:
masterOperationin classTransportMasterNodeAction<PutIndexTemplateRequest,AcknowledgedResponse> - Throws:
IOException
-