Module org.elasticsearch.server
Class TransportRefreshAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<RefreshRequest,BroadcastResponse>
org.elasticsearch.action.support.HandledTransportAction<RefreshRequest,BroadcastResponse>
org.elasticsearch.action.support.replication.TransportBroadcastReplicationAction<RefreshRequest,BroadcastResponse,BasicReplicationRequest,ReplicationResponse>
org.elasticsearch.action.admin.indices.refresh.TransportRefreshAction
public class TransportRefreshAction
extends TransportBroadcastReplicationAction<RefreshRequest,BroadcastResponse,BasicReplicationRequest,ReplicationResponse>
Refresh action.
-
Field Summary
Fields inherited from class org.elasticsearch.action.support.TransportAction
actionName, logger, taskManager -
Constructor Summary
ConstructorsConstructorDescriptionTransportRefreshAction(ClusterService clusterService, TransportService transportService, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, NodeClient client) -
Method Summary
Modifier and TypeMethodDescriptionprotected BroadcastResponsenewResponse(int successfulShards, int failedShards, int totalNumCopies, List<DefaultShardOperationFailedException> shardFailures) protected BasicReplicationRequestnewShardRequest(RefreshRequest request, ShardId shardId) Methods inherited from class org.elasticsearch.action.support.replication.TransportBroadcastReplicationAction
doExecute, shardExecute, shardsMethods inherited from class org.elasticsearch.action.support.TransportAction
execute, executeDirect, localOnly
-
Constructor Details
-
TransportRefreshAction
@Inject public TransportRefreshAction(ClusterService clusterService, TransportService transportService, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, NodeClient client)
-
-
Method Details
-
newShardRequest
-
newResponse
protected BroadcastResponse newResponse(int successfulShards, int failedShards, int totalNumCopies, List<DefaultShardOperationFailedException> shardFailures)
-