Class TransportRefreshAction
java.lang.Object
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, localConnection, logger, taskManager -
Constructor Summary
ConstructorsConstructorDescriptionTransportRefreshAction(ClusterService clusterService, TransportService transportService, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, TransportShardRefreshAction shardRefreshAction) -
Method Summary
Modifier and TypeMethodDescriptionprotected RefreshResponsenewResponse(int successfulShards, int failedShards, int totalNumCopies, List<DefaultShardOperationFailedException> shardFailures)protected BasicReplicationRequestnewShardRequest(RefreshRequest request, ShardId shardId)protected ReplicationResponseMethods inherited from class org.elasticsearch.action.support.replication.TransportBroadcastReplicationAction
doExecute, shardExecute, shardsMethods inherited from class org.elasticsearch.action.support.TransportAction
execute, execute, execute
-
Constructor Details
-
TransportRefreshAction
@Inject public TransportRefreshAction(ClusterService clusterService, TransportService transportService, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, TransportShardRefreshAction shardRefreshAction)
-
-
Method Details
-
newShardResponse
-
newShardRequest
-
newResponse
protected RefreshResponse newResponse(int successfulShards, int failedShards, int totalNumCopies, List<DefaultShardOperationFailedException> shardFailures)
-