Class TransportIndicesShardStoresAction
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<IndicesShardStoresRequest,IndicesShardStoresResponse>
org.elasticsearch.action.admin.indices.shards.TransportIndicesShardStoresAction
public class TransportIndicesShardStoresAction
extends TransportMasterNodeReadAction<IndicesShardStoresRequest,IndicesShardStoresResponse>
Transport action that reads the cluster state for shards with the requested criteria (see
ClusterHealthStatus
) of specific
indices and fetches store information from all the nodes using TransportNodesListGatewayStartedShards
-
Field Summary
Fields inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
clusterService, executor, indexNameExpressionResolver, threadPool, transportService
Fields inherited from class org.elasticsearch.action.support.TransportAction
actionName, localConnection, taskManager
-
Constructor Summary
ConstructorDescriptionTransportIndicesShardStoresAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, TransportNodesListGatewayStartedShards listShardStoresInfo)
-
Method Summary
Modifier and TypeMethodDescriptionprotected ClusterBlockException
checkBlock(IndicesShardStoresRequest request, ClusterState state)
protected void
masterOperation(IndicesShardStoresRequest request, ClusterState state, ActionListener<IndicesShardStoresResponse> listener)
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
-
TransportIndicesShardStoresAction
@Inject public TransportIndicesShardStoresAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, TransportNodesListGatewayStartedShards listShardStoresInfo)
-
-
Method Details
-
masterOperation
protected void masterOperation(IndicesShardStoresRequest request, ClusterState state, ActionListener<IndicesShardStoresResponse> listener)- Specified by:
masterOperation
in classTransportMasterNodeAction<IndicesShardStoresRequest,IndicesShardStoresResponse>
-
checkBlock
- Specified by:
checkBlock
in classTransportMasterNodeAction<IndicesShardStoresRequest,IndicesShardStoresResponse>
-