Class TransportFlushAction
- 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<FlushRequest,FlushResponse,ShardFlushRequest,ReplicationResponse>
-
- org.elasticsearch.action.admin.indices.flush.TransportFlushAction
-
public class TransportFlushAction extends TransportBroadcastReplicationAction<FlushRequest,FlushResponse,ShardFlushRequest,ReplicationResponse>
Flush 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 TransportFlushAction(Settings settings, ThreadPool threadPool, ClusterService clusterService, TransportService transportService, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, TransportShardFlushAction replicatedFlushAction)
-
Method Summary
Modifier and Type Method Description protected FlushResponse
newResponse(int successfulShards, int failedShards, int totalNumCopies, java.util.List<DefaultShardOperationFailedException> shardFailures)
protected ShardFlushRequest
newShardRequest(FlushRequest 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
-
TransportFlushAction
@Inject public TransportFlushAction(Settings settings, ThreadPool threadPool, ClusterService clusterService, TransportService transportService, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, TransportShardFlushAction replicatedFlushAction)
-
-
Method Detail
-
newShardResponse
protected ReplicationResponse newShardResponse()
- Specified by:
newShardResponse
in classTransportBroadcastReplicationAction<FlushRequest,FlushResponse,ShardFlushRequest,ReplicationResponse>
-
newShardRequest
protected ShardFlushRequest newShardRequest(FlushRequest request, ShardId shardId)
- Specified by:
newShardRequest
in classTransportBroadcastReplicationAction<FlushRequest,FlushResponse,ShardFlushRequest,ReplicationResponse>
-
newResponse
protected FlushResponse newResponse(int successfulShards, int failedShards, int totalNumCopies, java.util.List<DefaultShardOperationFailedException> shardFailures)
- Specified by:
newResponse
in classTransportBroadcastReplicationAction<FlushRequest,FlushResponse,ShardFlushRequest,ReplicationResponse>
-
-