Module org.elasticsearch.server
Class TransportGetIndexTemplatesAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<GetIndexTemplatesRequest,GetIndexTemplatesResponse>
org.elasticsearch.action.support.local.TransportLocalClusterStateAction<GetIndexTemplatesRequest,GetIndexTemplatesResponse>
org.elasticsearch.action.support.local.TransportLocalProjectMetadataAction<GetIndexTemplatesRequest,GetIndexTemplatesResponse>
org.elasticsearch.action.admin.indices.template.get.TransportGetIndexTemplatesAction
public class TransportGetIndexTemplatesAction
extends TransportLocalProjectMetadataAction<GetIndexTemplatesRequest,GetIndexTemplatesResponse>
-
Field Summary
Fields inherited from class org.elasticsearch.action.support.local.TransportLocalClusterStateAction
clusterService, executorFields inherited from class org.elasticsearch.action.support.TransportAction
actionName, taskManager -
Constructor Summary
ConstructorsConstructorDescriptionTransportGetIndexTemplatesAction(TransportService transportService, ClusterService clusterService, ActionFilters actionFilters, ProjectResolver projectResolver) NB prior to 9.0 this was a TransportMasterNodeReadAction so for BwC it must be registered with the TransportService until we no longer need to support calling this action remotely. -
Method Summary
Modifier and TypeMethodDescriptionprotected ClusterBlockExceptioncheckBlock(GetIndexTemplatesRequest request, ProjectState state) protected voidlocalClusterStateOperation(Task task, GetIndexTemplatesRequest request, ProjectState state, ActionListener<GetIndexTemplatesResponse> listener) Methods inherited from class org.elasticsearch.action.support.local.TransportLocalProjectMetadataAction
checkBlock, localClusterStateOperationMethods inherited from class org.elasticsearch.action.support.local.TransportLocalClusterStateAction
doExecuteMethods inherited from class org.elasticsearch.action.support.TransportAction
execute, executeDirect, localOnly
-
Constructor Details
-
TransportGetIndexTemplatesAction
@Inject public TransportGetIndexTemplatesAction(TransportService transportService, ClusterService clusterService, ActionFilters actionFilters, ProjectResolver projectResolver) NB prior to 9.0 this was a TransportMasterNodeReadAction so for BwC it must be registered with the TransportService until we no longer need to support calling this action remotely.
-
-
Method Details
-
checkBlock
- Specified by:
checkBlockin classTransportLocalProjectMetadataAction<GetIndexTemplatesRequest,GetIndexTemplatesResponse>
-
localClusterStateOperation
protected void localClusterStateOperation(Task task, GetIndexTemplatesRequest request, ProjectState state, ActionListener<GetIndexTemplatesResponse> listener)
-