Class TransportPutIndexTemplateAction
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<PutIndexTemplateRequest>
org.elasticsearch.action.admin.indices.template.put.TransportPutIndexTemplateAction
public class TransportPutIndexTemplateAction
extends AcknowledgedTransportMasterNodeAction<PutIndexTemplateRequest>
Put index template action.
-
Field Summary
Fields inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
clusterService, executor, indexNameExpressionResolver, threadPool, transportServiceFields inherited from class org.elasticsearch.action.support.TransportAction
actionName, localConnection, taskManager -
Constructor Summary
ConstructorsConstructorDescriptionTransportPutIndexTemplateAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, MetadataIndexTemplateService indexTemplateService, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, IndexScopedSettings indexScopedSettings) -
Method Summary
Modifier and TypeMethodDescriptionprotected ClusterBlockExceptioncheckBlock(PutIndexTemplateRequest request, ClusterState state)protected voidmasterOperation(PutIndexTemplateRequest request, ClusterState state, ActionListener<AcknowledgedResponse> listener)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
-
TransportPutIndexTemplateAction
@Inject public TransportPutIndexTemplateAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, MetadataIndexTemplateService indexTemplateService, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, IndexScopedSettings indexScopedSettings)
-
-
Method Details
-
checkBlock
- Specified by:
checkBlockin classTransportMasterNodeAction<PutIndexTemplateRequest,AcknowledgedResponse>
-
masterOperation
protected void masterOperation(PutIndexTemplateRequest request, ClusterState state, ActionListener<AcknowledgedResponse> listener)- Specified by:
masterOperationin classTransportMasterNodeAction<PutIndexTemplateRequest,AcknowledgedResponse>
-