public class TransportIndicesStatsAction extends TransportBroadcastByNodeAction<IndicesStatsRequest,IndicesStatsResponse,ShardStats>
TransportBroadcastByNodeAction.AsyncAction, TransportBroadcastByNodeAction.EmptyResult, TransportBroadcastByNodeAction.NodeRequestdeprecationLogger, logger, settingsactionName, indexNameExpressionResolver, taskManager, threadPool| Constructor | Description |
|---|---|
TransportIndicesStatsAction(Settings settings,
ThreadPool threadPool,
ClusterService clusterService,
TransportService transportService,
IndicesService indicesService,
ActionFilters actionFilters,
IndexNameExpressionResolver indexNameExpressionResolver) |
| Modifier and Type | Method | Description |
|---|---|---|
protected ClusterBlockException |
checkGlobalBlock(ClusterState state,
IndicesStatsRequest request) |
Executes a global block check before polling the cluster state.
|
protected ClusterBlockException |
checkRequestBlock(ClusterState state,
IndicesStatsRequest request,
java.lang.String[] concreteIndices) |
Executes a global request-level check before polling the cluster state.
|
protected IndicesStatsResponse |
newResponse(IndicesStatsRequest request,
int totalShards,
int successfulShards,
int failedShards,
java.util.List<ShardStats> responses,
java.util.List<DefaultShardOperationFailedException> shardFailures,
ClusterState clusterState) |
Creates a new response to the underlying request.
|
protected IndicesStatsRequest |
readRequestFrom(StreamInput in) |
Deserialize a request from an input stream
|
protected ShardStats |
readShardResult(StreamInput in) |
Deserialize a shard-level result from an input stream
|
protected ShardStats |
shardOperation(IndicesStatsRequest request,
ShardRouting shardRouting) |
Executes the shard-level operation.
|
protected ShardsIterator |
shards(ClusterState clusterState,
IndicesStatsRequest request,
java.lang.String[] concreteIndices) |
Status goes across *all* shards.
|
logDeprecatedSetting, logRemovedSetting, nodeNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecute, execute, execute, executedoExecute, doExecute@Inject public TransportIndicesStatsAction(Settings settings, ThreadPool threadPool, ClusterService clusterService, TransportService transportService, IndicesService indicesService, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver)
protected ShardsIterator shards(ClusterState clusterState, IndicesStatsRequest request, java.lang.String[] concreteIndices)
shards in class TransportBroadcastByNodeAction<IndicesStatsRequest,IndicesStatsResponse,ShardStats>clusterState - the cluster staterequest - the underlying requestconcreteIndices - the concrete indices on which to execute the operationprotected ClusterBlockException checkGlobalBlock(ClusterState state, IndicesStatsRequest request)
TransportBroadcastByNodeActioncheckGlobalBlock in class TransportBroadcastByNodeAction<IndicesStatsRequest,IndicesStatsResponse,ShardStats>state - the cluster staterequest - the underlying requestprotected ClusterBlockException checkRequestBlock(ClusterState state, IndicesStatsRequest request, java.lang.String[] concreteIndices)
TransportBroadcastByNodeActioncheckRequestBlock in class TransportBroadcastByNodeAction<IndicesStatsRequest,IndicesStatsResponse,ShardStats>state - the cluster staterequest - the underlying requestconcreteIndices - the concrete indices on which to execute the operationprotected ShardStats readShardResult(StreamInput in) throws java.io.IOException
TransportBroadcastByNodeActionreadShardResult in class TransportBroadcastByNodeAction<IndicesStatsRequest,IndicesStatsResponse,ShardStats>in - input streamjava.io.IOExceptionprotected IndicesStatsResponse newResponse(IndicesStatsRequest request, int totalShards, int successfulShards, int failedShards, java.util.List<ShardStats> responses, java.util.List<DefaultShardOperationFailedException> shardFailures, ClusterState clusterState)
TransportBroadcastByNodeActionnewResponse in class TransportBroadcastByNodeAction<IndicesStatsRequest,IndicesStatsResponse,ShardStats>request - the underlying requesttotalShards - the total number of shards considered for execution of the operationsuccessfulShards - the total number of shards for which execution of the operation was successfulfailedShards - the total number of shards for which execution of the operation failedresponses - the per-node aggregated shard-level resultsshardFailures - the exceptions corresponding to shard operation failuresclusterState - the cluster stateprotected IndicesStatsRequest readRequestFrom(StreamInput in) throws java.io.IOException
TransportBroadcastByNodeActionreadRequestFrom in class TransportBroadcastByNodeAction<IndicesStatsRequest,IndicesStatsResponse,ShardStats>in - input streamjava.io.IOExceptionprotected ShardStats shardOperation(IndicesStatsRequest request, ShardRouting shardRouting)
TransportBroadcastByNodeActionshardOperation in class TransportBroadcastByNodeAction<IndicesStatsRequest,IndicesStatsResponse,ShardStats>request - the node-level requestshardRouting - the shard on which to execute the operation