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.action.support.TransportAction
actionName, indexNameExpressionResolver, taskManager, threadPool
-
Fields inherited from class org.elasticsearch.common.component.AbstractComponent
logger
-
-
Constructor Summary
Constructors Constructor Description TransportRefreshAction(Settings settings, ThreadPool threadPool, ClusterService clusterService, TransportService transportService, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, TransportShardRefreshAction shardRefreshAction)
-
Method Summary
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.action.support.replication.TransportBroadcastReplicationAction
doExecute, doExecute, shardExecute, shards
-
Methods inherited from class org.elasticsearch.action.support.TransportAction
execute, execute, execute, execute
-
-
-
-
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()
- Specified by:
newShardResponse
in classTransportBroadcastReplicationAction<RefreshRequest,RefreshResponse,BasicReplicationRequest,ReplicationResponse>
-
newShardRequest
protected BasicReplicationRequest newShardRequest(RefreshRequest request, ShardId shardId)
- Specified by:
newShardRequest
in classTransportBroadcastReplicationAction<RefreshRequest,RefreshResponse,BasicReplicationRequest,ReplicationResponse>
-
newResponse
protected RefreshResponse newResponse(int successfulShards, int failedShards, int totalNumCopies, java.util.List<DefaultShardOperationFailedException> shardFailures)
- Specified by:
newResponse
in classTransportBroadcastReplicationAction<RefreshRequest,RefreshResponse,BasicReplicationRequest,ReplicationResponse>
-
-