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, logger, taskManager
-
-
Constructor Summary
Constructors Constructor Description TransportRefreshAction(ClusterService clusterService, TransportService transportService, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, TransportShardRefreshAction shardRefreshAction)
-
Method Summary
Modifier and Type Method Description protected RefreshResponsenewResponse(int successfulShards, int failedShards, int totalNumCopies, java.util.List<DefaultShardOperationFailedException> shardFailures)protected BasicReplicationRequestnewShardRequest(RefreshRequest request, ShardId shardId)protected ReplicationResponsenewShardResponse()-
Methods inherited from class org.elasticsearch.action.support.replication.TransportBroadcastReplicationAction
doExecute, shardExecute, shards
-
Methods inherited from class org.elasticsearch.action.support.TransportAction
execute, execute, execute
-
-
-
-
Constructor Detail
-
TransportRefreshAction
@Inject public TransportRefreshAction(ClusterService clusterService, TransportService transportService, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, TransportShardRefreshAction shardRefreshAction)
-
-
Method Detail
-
newShardResponse
protected ReplicationResponse newShardResponse()
- Specified by:
newShardResponsein classTransportBroadcastReplicationAction<RefreshRequest,RefreshResponse,BasicReplicationRequest,ReplicationResponse>
-
newShardRequest
protected BasicReplicationRequest newShardRequest(RefreshRequest request, ShardId shardId)
- Specified by:
newShardRequestin classTransportBroadcastReplicationAction<RefreshRequest,RefreshResponse,BasicReplicationRequest,ReplicationResponse>
-
newResponse
protected RefreshResponse newResponse(int successfulShards, int failedShards, int totalNumCopies, java.util.List<DefaultShardOperationFailedException> shardFailures)
- Specified by:
newResponsein classTransportBroadcastReplicationAction<RefreshRequest,RefreshResponse,BasicReplicationRequest,ReplicationResponse>
-
-