Class TransportRefreshAction
- 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.replication.TransportBroadcastReplicationAction<RefreshRequest,RefreshResponse,BasicReplicationRequest,ReplicationResponse>
-
- org.elasticsearch.action.admin.indices.refresh.TransportRefreshAction
-
public class TransportRefreshAction extends TransportBroadcastReplicationAction<RefreshRequest,RefreshResponse,BasicReplicationRequest,ReplicationResponse>
Refresh action.
-
-
Field Summary
-
Fields inherited from class org.elasticsearch.common.component.AbstractComponent
deprecationLogger, logger, settings
-
Fields inherited from class org.elasticsearch.action.support.TransportAction
actionName, indexNameExpressionResolver, taskManager, threadPool
-
-
Constructor Summary
Constructors Constructor Description TransportRefreshAction(Settings settings, ThreadPool threadPool, ClusterService clusterService, TransportService transportService, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, TransportShardRefreshAction shardRefreshAction)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected RefreshResponse
newResponse(int successfulShards, int failedShards, int totalNumCopies, java.util.List<DefaultShardOperationFailedException> shardFailures)
protected BasicReplicationRequest
newShardRequest(RefreshRequest request, ShardId shardId)
protected ReplicationResponse
newShardResponse()
-
Methods inherited from class org.elasticsearch.common.component.AbstractComponent
logDeprecatedSetting, logRemovedSetting, nodeName
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from class org.elasticsearch.action.support.TransportAction
execute, execute, execute, execute
-
Methods inherited from class org.elasticsearch.action.support.replication.TransportBroadcastReplicationAction
doExecute, doExecute, shardExecute, shards
-
-
-
-
Constructor Detail
-
TransportRefreshAction
@Inject public TransportRefreshAction(Settings settings, ThreadPool threadPool, ClusterService clusterService, TransportService transportService, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, TransportShardRefreshAction shardRefreshAction)
-
-
Method Detail
-
newShardResponse
protected ReplicationResponse newShardResponse()
-
newShardRequest
protected BasicReplicationRequest newShardRequest(RefreshRequest request, ShardId shardId)
-
newResponse
protected RefreshResponse newResponse(int successfulShards, int failedShards, int totalNumCopies, java.util.List<DefaultShardOperationFailedException> shardFailures)
-
-