Module org.elasticsearch.server
Class TransportClusterSearchShardsAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<ClusterSearchShardsRequest,ClusterSearchShardsResponse>
org.elasticsearch.action.support.HandledTransportAction<ClusterSearchShardsRequest,ClusterSearchShardsResponse>
org.elasticsearch.action.support.master.TransportMasterNodeAction<ClusterSearchShardsRequest,ClusterSearchShardsResponse>
org.elasticsearch.action.support.master.TransportMasterNodeReadAction<ClusterSearchShardsRequest,ClusterSearchShardsResponse>
org.elasticsearch.action.admin.cluster.shards.TransportClusterSearchShardsAction
- All Implemented Interfaces:
ActionWithReservedState<ClusterSearchShardsRequest>
public class TransportClusterSearchShardsAction
extends TransportMasterNodeReadAction<ClusterSearchShardsRequest,ClusterSearchShardsResponse>
-
Field Summary
FieldsFields 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
ConstructorsConstructorDescriptionTransportClusterSearchShardsAction(TransportService transportService, ClusterService clusterService, IndicesService indicesService, ThreadPool threadPool, ActionFilters actionFilters, ProjectResolver projectResolver, IndexNameExpressionResolver indexNameExpressionResolver) -
Method Summary
Modifier and TypeMethodDescriptionprotected ClusterBlockExceptioncheckBlock(ClusterSearchShardsRequest request, ClusterState state) protected voidmasterOperation(Task task, ClusterSearchShardsRequest request, ClusterState state, ActionListener<ClusterSearchShardsResponse> listener) Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeReadAction
localExecuteMethods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
doExecute, validateForReservedStateMethods 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
-
Field Details
-
TYPE
-
-
Constructor Details
-
TransportClusterSearchShardsAction
@Inject public TransportClusterSearchShardsAction(TransportService transportService, ClusterService clusterService, IndicesService indicesService, ThreadPool threadPool, ActionFilters actionFilters, ProjectResolver projectResolver, IndexNameExpressionResolver indexNameExpressionResolver)
-
-
Method Details
-
checkBlock
- Specified by:
checkBlockin classTransportMasterNodeAction<ClusterSearchShardsRequest,ClusterSearchShardsResponse>
-
masterOperation
protected void masterOperation(Task task, ClusterSearchShardsRequest request, ClusterState state, ActionListener<ClusterSearchShardsResponse> listener) - Specified by:
masterOperationin classTransportMasterNodeAction<ClusterSearchShardsRequest,ClusterSearchShardsResponse>
-