public class TransportRefreshAction extends TransportBroadcastReplicationAction<RefreshRequest,RefreshResponse,BasicReplicationRequest,ReplicationResponse>
actionName, indexNameExpressionResolver, taskManager, threadPool
deprecationLogger, logger, settings
Constructor and Description |
---|
TransportRefreshAction(Settings settings,
ThreadPool threadPool,
ClusterService clusterService,
TransportService transportService,
ActionFilters actionFilters,
IndexNameExpressionResolver indexNameExpressionResolver,
TransportShardRefreshAction shardRefreshAction) |
Modifier and Type | Method and Description |
---|---|
protected RefreshResponse |
newResponse(int successfulShards,
int failedShards,
int totalNumCopies,
java.util.List<ShardOperationFailedException> shardFailures) |
protected BasicReplicationRequest |
newShardRequest(RefreshRequest request,
ShardId shardId) |
protected ReplicationResponse |
newShardResponse() |
doExecute, doExecute, shardExecute, shards
execute, execute, execute, execute
logDeprecatedSetting, logRemovedSetting, nodeName
@Inject public TransportRefreshAction(Settings settings, ThreadPool threadPool, ClusterService clusterService, TransportService transportService, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, TransportShardRefreshAction shardRefreshAction)
protected ReplicationResponse newShardResponse()
protected BasicReplicationRequest newShardRequest(RefreshRequest request, ShardId shardId)
protected RefreshResponse newResponse(int successfulShards, int failedShards, int totalNumCopies, java.util.List<ShardOperationFailedException> shardFailures)