public class TransportRefreshAction extends TransportBroadcastReplicationAction<RefreshRequest,RefreshResponse,ReplicationRequest,ActionWriteResponse>
actionName, indexNameExpressionResolver, parseFieldMatcher, 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,
List<ShardOperationFailedException> shardFailures) |
protected ReplicationRequest |
newShardRequest(RefreshRequest request,
ShardId shardId) |
protected ActionWriteResponse |
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 ActionWriteResponse newShardResponse()
protected ReplicationRequest newShardRequest(RefreshRequest request, ShardId shardId)
newShardRequest
in class TransportBroadcastReplicationAction<RefreshRequest,RefreshResponse,ReplicationRequest,ActionWriteResponse>
protected RefreshResponse newResponse(int successfulShards, int failedShards, int totalNumCopies, List<ShardOperationFailedException> shardFailures)
newResponse
in class TransportBroadcastReplicationAction<RefreshRequest,RefreshResponse,ReplicationRequest,ActionWriteResponse>
Copyright © 2009–2017. All rights reserved.