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.admin.indices.template.get.TransportGetIndexTemplatesAction
public class TransportGetIndexTemplatesAction
extends TransportLocalClusterStateAction<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) 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, ClusterState state) protected voidlocalClusterStateOperation(Task task, GetIndexTemplatesRequest request, ClusterState state, ActionListener<GetIndexTemplatesResponse> listener) Methods 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) 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 classTransportLocalClusterStateAction<GetIndexTemplatesRequest,GetIndexTemplatesResponse>
-
localClusterStateOperation
protected void localClusterStateOperation(Task task, GetIndexTemplatesRequest request, ClusterState state, ActionListener<GetIndexTemplatesResponse> listener) - Specified by:
localClusterStateOperationin classTransportLocalClusterStateAction<GetIndexTemplatesRequest,GetIndexTemplatesResponse>
-