Class TransportDeleteIndexTemplateAction
- java.lang.Object
-
- org.elasticsearch.common.component.AbstractComponent
-
- org.elasticsearch.action.support.TransportAction<Request,Response>
-
- org.elasticsearch.action.support.HandledTransportAction<Request,Response>
-
- org.elasticsearch.action.support.master.TransportMasterNodeAction<DeleteIndexTemplateRequest,AcknowledgedResponse>
-
- org.elasticsearch.action.admin.indices.template.delete.TransportDeleteIndexTemplateAction
-
public class TransportDeleteIndexTemplateAction extends TransportMasterNodeAction<DeleteIndexTemplateRequest,AcknowledgedResponse>
Delete index action.
-
-
Field Summary
-
Fields inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
clusterService, transportService
-
Fields inherited from class org.elasticsearch.action.support.TransportAction
actionName, indexNameExpressionResolver, taskManager, threadPool
-
Fields inherited from class org.elasticsearch.common.component.AbstractComponent
logger
-
-
Constructor Summary
Constructors Constructor Description TransportDeleteIndexTemplateAction(Settings settings, TransportService transportService, ClusterService clusterService, ThreadPool threadPool, MetaDataIndexTemplateService indexTemplateService, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver)
-
Method Summary
Modifier and Type Method Description protected ClusterBlockException
checkBlock(DeleteIndexTemplateRequest request, ClusterState state)
protected java.lang.String
executor()
protected void
masterOperation(DeleteIndexTemplateRequest request, ClusterState state, ActionListener<AcknowledgedResponse> listener)
protected AcknowledgedResponse
newResponse()
-
Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
doExecute, doExecute, getMasterActionName, localExecute, masterOperation, read
-
Methods inherited from class org.elasticsearch.action.support.TransportAction
execute, execute, execute, execute
-
-
-
-
Constructor Detail
-
TransportDeleteIndexTemplateAction
@Inject public TransportDeleteIndexTemplateAction(Settings settings, TransportService transportService, ClusterService clusterService, ThreadPool threadPool, MetaDataIndexTemplateService indexTemplateService, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver)
-
-
Method Detail
-
executor
protected java.lang.String executor()
- Specified by:
executor
in classTransportMasterNodeAction<DeleteIndexTemplateRequest,AcknowledgedResponse>
-
newResponse
protected AcknowledgedResponse newResponse()
- Specified by:
newResponse
in classTransportMasterNodeAction<DeleteIndexTemplateRequest,AcknowledgedResponse>
- Returns:
- a new response instance. Typically this is used for serialization using the
Streamable.readFrom(StreamInput)
method.
-
checkBlock
protected ClusterBlockException checkBlock(DeleteIndexTemplateRequest request, ClusterState state)
- Specified by:
checkBlock
in classTransportMasterNodeAction<DeleteIndexTemplateRequest,AcknowledgedResponse>
-
masterOperation
protected void masterOperation(DeleteIndexTemplateRequest request, ClusterState state, ActionListener<AcknowledgedResponse> listener)
- Specified by:
masterOperation
in classTransportMasterNodeAction<DeleteIndexTemplateRequest,AcknowledgedResponse>
-
-