Class TransportClusterSearchShardsAction
- java.lang.Object
-
- org.elasticsearch.common.component.AbstractComponent
-
- 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>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.elasticsearch.action.support.HandledTransportAction
HandledTransportAction.ChannelActionListener<Response extends TransportResponse,Request extends TransportRequest>
-
-
Field Summary
-
Fields inherited from class org.elasticsearch.action.support.master.TransportMasterNodeReadAction
FORCE_LOCAL_SETTING
-
Fields inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
clusterService, transportService
-
Fields inherited from class org.elasticsearch.action.support.TransportAction
actionName, indexNameExpressionResolver, taskManager, threadPool
-
Fields inherited from class org.elasticsearch.common.component.AbstractComponent
logger
-
-
Constructor Summary
Constructors Constructor Description TransportClusterSearchShardsAction(Settings settings, TransportService transportService, ClusterService clusterService, IndicesService indicesService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ClusterBlockExceptioncheckBlock(ClusterSearchShardsRequest request, ClusterState state)protected java.lang.Stringexecutor()protected voidmasterOperation(ClusterSearchShardsRequest request, ClusterState state, ActionListener<ClusterSearchShardsResponse> listener)protected ClusterSearchShardsResponsenewResponse()protected ClusterSearchShardsResponseread(StreamInput in)-
Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeReadAction
localExecute
-
Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
doExecute, doExecute, getMasterActionName, masterOperation
-
Methods inherited from class org.elasticsearch.action.support.TransportAction
execute, execute, execute, execute
-
-
-
-
Constructor Detail
-
TransportClusterSearchShardsAction
@Inject public TransportClusterSearchShardsAction(Settings settings, TransportService transportService, ClusterService clusterService, IndicesService indicesService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver)
-
-
Method Detail
-
executor
protected java.lang.String executor()
- Specified by:
executorin classTransportMasterNodeAction<ClusterSearchShardsRequest,ClusterSearchShardsResponse>
-
checkBlock
protected ClusterBlockException checkBlock(ClusterSearchShardsRequest request, ClusterState state)
- Specified by:
checkBlockin classTransportMasterNodeAction<ClusterSearchShardsRequest,ClusterSearchShardsResponse>
-
newResponse
protected ClusterSearchShardsResponse newResponse()
- Specified by:
newResponsein classTransportMasterNodeAction<ClusterSearchShardsRequest,ClusterSearchShardsResponse>- Returns:
- a new response instance. Typically this is used for serialization using the
Streamable.readFrom(StreamInput)method.
-
read
protected ClusterSearchShardsResponse read(StreamInput in) throws java.io.IOException
- Overrides:
readin classTransportMasterNodeAction<ClusterSearchShardsRequest,ClusterSearchShardsResponse>- Throws:
java.io.IOException
-
masterOperation
protected void masterOperation(ClusterSearchShardsRequest request, ClusterState state, ActionListener<ClusterSearchShardsResponse> listener)
- Specified by:
masterOperationin classTransportMasterNodeAction<ClusterSearchShardsRequest,ClusterSearchShardsResponse>
-
-