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>
-
-
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
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
newResponse()
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, 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:
executor
in classTransportMasterNodeAction<ClusterSearchShardsRequest,ClusterSearchShardsResponse>
-
checkBlock
protected ClusterBlockException checkBlock(ClusterSearchShardsRequest request, ClusterState state)
- Specified by:
checkBlock
in classTransportMasterNodeAction<ClusterSearchShardsRequest,ClusterSearchShardsResponse>
-
newResponse
protected ClusterSearchShardsResponse newResponse()
- Specified by:
newResponse
in 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:
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>
-
-