Module org.elasticsearch.server
Class TransportGetComponentTemplateAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<GetComponentTemplateAction.Request,GetComponentTemplateAction.Response>
org.elasticsearch.action.support.HandledTransportAction<GetComponentTemplateAction.Request,GetComponentTemplateAction.Response>
org.elasticsearch.action.support.master.TransportMasterNodeAction<GetComponentTemplateAction.Request,GetComponentTemplateAction.Response>
org.elasticsearch.action.support.master.TransportMasterNodeReadAction<GetComponentTemplateAction.Request,GetComponentTemplateAction.Response>
org.elasticsearch.action.admin.indices.template.get.TransportGetComponentTemplateAction
- All Implemented Interfaces:
ActionWithReservedState<GetComponentTemplateAction.Request>
public class TransportGetComponentTemplateAction
extends TransportMasterNodeReadAction<GetComponentTemplateAction.Request,GetComponentTemplateAction.Response>
-
Field Summary
Fields inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
clusterService, executor, threadPool, transportServiceFields inherited from class org.elasticsearch.action.support.TransportAction
actionName, taskManager -
Constructor Summary
ConstructorsConstructorDescriptionTransportGetComponentTemplateAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters) -
Method Summary
Modifier and TypeMethodDescriptionprotected ClusterBlockExceptioncheckBlock(GetComponentTemplateAction.Request request, ClusterState state) protected voidmasterOperation(Task task, GetComponentTemplateAction.Request request, ClusterState state, ActionListener<GetComponentTemplateAction.Response> 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, executeDirect, localOnlyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.reservedstate.ActionWithReservedState
modifiedKeys, reservedStateHandlerName, validateForReservedState
-
Constructor Details
-
TransportGetComponentTemplateAction
@Inject public TransportGetComponentTemplateAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters)
-
-
Method Details
-
checkBlock
protected ClusterBlockException checkBlock(GetComponentTemplateAction.Request request, ClusterState state) - Specified by:
checkBlockin classTransportMasterNodeAction<GetComponentTemplateAction.Request,GetComponentTemplateAction.Response>
-
masterOperation
protected void masterOperation(Task task, GetComponentTemplateAction.Request request, ClusterState state, ActionListener<GetComponentTemplateAction.Response> listener)
-