Class TransportGetIndexTemplatesAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<Request,Response>
org.elasticsearch.action.support.HandledTransportAction<Request,Response>
org.elasticsearch.action.support.master.TransportMasterNodeAction<Request,Response>
org.elasticsearch.action.support.master.TransportMasterNodeReadAction<GetIndexTemplatesRequest,GetIndexTemplatesResponse>
org.elasticsearch.action.admin.indices.template.get.TransportGetIndexTemplatesAction
public class TransportGetIndexTemplatesAction
extends TransportMasterNodeReadAction<GetIndexTemplatesRequest,GetIndexTemplatesResponse>
-
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, taskManager -
Constructor Summary
ConstructorsConstructorDescriptionTransportGetIndexTemplatesAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver) -
Method Summary
Modifier and TypeMethodDescriptionprotected ClusterBlockExceptioncheckBlock(GetIndexTemplatesRequest request, ClusterState state) protected voidmasterOperation(Task task, GetIndexTemplatesRequest request, ClusterState state, ActionListener<GetIndexTemplatesResponse> listener) Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeReadAction
localExecuteMethods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
doExecuteMethods inherited from class org.elasticsearch.action.support.TransportAction
execute
-
Constructor Details
-
TransportGetIndexTemplatesAction
@Inject public TransportGetIndexTemplatesAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver)
-
-
Method Details
-
checkBlock
- Specified by:
checkBlockin classTransportMasterNodeAction<GetIndexTemplatesRequest,GetIndexTemplatesResponse>
-
masterOperation
protected void masterOperation(Task task, GetIndexTemplatesRequest request, ClusterState state, ActionListener<GetIndexTemplatesResponse> listener) - Specified by:
masterOperationin classTransportMasterNodeAction<GetIndexTemplatesRequest,GetIndexTemplatesResponse>
-