Module org.elasticsearch.server
Class TransportGetIndexTemplatesAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<GetIndexTemplatesRequest,GetIndexTemplatesResponse>
org.elasticsearch.action.support.HandledTransportAction<GetIndexTemplatesRequest,GetIndexTemplatesResponse>
org.elasticsearch.action.support.master.TransportMasterNodeAction<GetIndexTemplatesRequest,GetIndexTemplatesResponse>
org.elasticsearch.action.support.master.TransportMasterNodeReadAction<GetIndexTemplatesRequest,GetIndexTemplatesResponse>
org.elasticsearch.action.admin.indices.template.get.TransportGetIndexTemplatesAction
- All Implemented Interfaces:
ActionWithReservedState<GetIndexTemplatesRequest>
public class TransportGetIndexTemplatesAction
extends TransportMasterNodeReadAction<GetIndexTemplatesRequest,GetIndexTemplatesResponse>
-
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
ConstructorsConstructorDescriptionTransportGetIndexTemplatesAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters) -
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, 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
-
TransportGetIndexTemplatesAction
@Inject public TransportGetIndexTemplatesAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters)
-
-
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>
-