Module org.elasticsearch.server
Class TransportGetComponentTemplateAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<GetComponentTemplateAction.Request,GetComponentTemplateAction.Response>
org.elasticsearch.action.support.local.TransportLocalClusterStateAction<GetComponentTemplateAction.Request,GetComponentTemplateAction.Response>
org.elasticsearch.action.admin.indices.template.get.TransportGetComponentTemplateAction
public class TransportGetComponentTemplateAction
extends TransportLocalClusterStateAction<GetComponentTemplateAction.Request,GetComponentTemplateAction.Response>
-
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
ConstructorsConstructorDescriptionTransportGetComponentTemplateAction(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(GetComponentTemplateAction.Request request, ClusterState state) protected voidlocalClusterStateOperation(Task task, GetComponentTemplateAction.Request request, ClusterState state, ActionListener<GetComponentTemplateAction.Response> 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
-
TransportGetComponentTemplateAction
@Inject public TransportGetComponentTemplateAction(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
protected ClusterBlockException checkBlock(GetComponentTemplateAction.Request request, ClusterState state) -
localClusterStateOperation
protected void localClusterStateOperation(Task task, GetComponentTemplateAction.Request request, ClusterState state, ActionListener<GetComponentTemplateAction.Response> listener)
-