Class TransportClusterSearchShardsAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<Request,Response>
org.elasticsearch.action.support.HandledTransportAction<Request,Response>
org.elasticsearch.action.support.master.TransportMasterNodeAction<Request,Response>
org.elasticsearch.action.support.master.TransportMasterNodeReadAction<ClusterSearchShardsRequest,ClusterSearchShardsResponse>
org.elasticsearch.action.admin.cluster.shards.TransportClusterSearchShardsAction
public class TransportClusterSearchShardsAction extends TransportMasterNodeReadAction<ClusterSearchShardsRequest,ClusterSearchShardsResponse>
-
Field Summary
Fields inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
clusterService, indexNameExpressionResolver, threadPool, transportService
Fields inherited from class org.elasticsearch.action.support.TransportAction
actionName, taskManager
-
Constructor Summary
Constructors Constructor Description TransportClusterSearchShardsAction(TransportService transportService, ClusterService clusterService, IndicesService indicesService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver)
-
Method Summary
Modifier and Type Method Description protected ClusterBlockException
checkBlock(ClusterSearchShardsRequest request, ClusterState state)
protected java.lang.String
executor()
protected void
masterOperation(ClusterSearchShardsRequest request, ClusterState state, ActionListener<ClusterSearchShardsResponse> listener)
protected ClusterSearchShardsResponse
read(StreamInput in)
Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeReadAction
localExecute
Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
doExecute, getMasterActionName, masterOperation
Methods inherited from class org.elasticsearch.action.support.TransportAction
execute, execute, execute
-
Constructor Details
-
TransportClusterSearchShardsAction
@Inject public TransportClusterSearchShardsAction(TransportService transportService, ClusterService clusterService, IndicesService indicesService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver)
-
-
Method Details
-
executor
protected java.lang.String executor()- Specified by:
executor
in classTransportMasterNodeAction<ClusterSearchShardsRequest,ClusterSearchShardsResponse>
-
checkBlock
- Specified by:
checkBlock
in classTransportMasterNodeAction<ClusterSearchShardsRequest,ClusterSearchShardsResponse>
-
read
- Specified by:
read
in classTransportMasterNodeAction<ClusterSearchShardsRequest,ClusterSearchShardsResponse>
- Throws:
java.io.IOException
-
masterOperation
protected void masterOperation(ClusterSearchShardsRequest request, ClusterState state, ActionListener<ClusterSearchShardsResponse> listener)- Specified by:
masterOperation
in classTransportMasterNodeAction<ClusterSearchShardsRequest,ClusterSearchShardsResponse>
-