public class TransportShardDeleteAction extends TransportShardAction<ShardDeleteRequest,ShardDeleteRequest.Item>
org.elasticsearch.action.support.replication.TransportWriteAction.WritePrimaryResult<ReplicaRequest extends org.elasticsearch.action.support.replication.ReplicatedWriteRequest<ReplicaRequest>,Response extends org.elasticsearch.action.support.replication.ReplicationResponse & org.elasticsearch.action.support.WriteResponse>, org.elasticsearch.action.support.replication.TransportWriteAction.WriteReplicaResult<ReplicaRequest extends org.elasticsearch.action.support.replication.ReplicatedWriteRequest<ReplicaRequest>>
org.elasticsearch.action.support.replication.TransportReplicationAction.ConcreteReplicaRequest<R extends org.elasticsearch.transport.TransportRequest>, org.elasticsearch.action.support.replication.TransportReplicationAction.ConcreteShardRequest<R extends org.elasticsearch.transport.TransportRequest>, org.elasticsearch.action.support.replication.TransportReplicationAction.OperationTransportHandler, org.elasticsearch.action.support.replication.TransportReplicationAction.PrimaryOperationTransportHandler, org.elasticsearch.action.support.replication.TransportReplicationAction.PrimaryResult<ReplicaRequest extends org.elasticsearch.action.support.replication.ReplicationRequest<ReplicaRequest>,Response extends org.elasticsearch.action.support.replication.ReplicationResponse>, org.elasticsearch.action.support.replication.TransportReplicationAction.ReplicaOperationTransportHandler, org.elasticsearch.action.support.replication.TransportReplicationAction.ReplicaResponse, org.elasticsearch.action.support.replication.TransportReplicationAction.ReplicaResult, org.elasticsearch.action.support.replication.TransportReplicationAction.ReplicasProxy, org.elasticsearch.action.support.replication.TransportReplicationAction.RetryOnReplicaException
clusterService, executor, indicesService, shardStateAction, transportOptions, transportPrimaryAction, transportReplicaAction, transportService
Constructor and Description |
---|
TransportShardDeleteAction(org.elasticsearch.common.settings.Settings settings,
org.elasticsearch.transport.TransportService transportService,
org.elasticsearch.cluster.metadata.IndexNameExpressionResolver indexNameExpressionResolver,
org.elasticsearch.cluster.service.ClusterService clusterService,
org.elasticsearch.indices.IndicesService indicesService,
org.elasticsearch.threadpool.ThreadPool threadPool,
org.elasticsearch.cluster.action.shard.ShardStateAction shardStateAction,
org.elasticsearch.action.support.ActionFilters actionFilters,
SchemaUpdateClient schemaUpdateClient) |
Modifier and Type | Method and Description |
---|---|
protected org.elasticsearch.action.support.replication.TransportWriteAction.WritePrimaryResult<ShardDeleteRequest,ShardResponse> |
processRequestItems(org.elasticsearch.index.shard.IndexShard indexShard,
ShardDeleteRequest request,
java.util.concurrent.atomic.AtomicBoolean killed) |
protected org.elasticsearch.action.support.replication.TransportWriteAction.WriteReplicaResult<ShardDeleteRequest> |
processRequestItemsOnReplica(org.elasticsearch.index.shard.IndexShard indexShard,
ShardDeleteRequest request) |
getMappingUpdateConsumer, killAllJobs, killJob, newResponseInstance, resolveIndex, shardOperationOnPrimary, shardOperationOnReplica, validateMapping
globalBlockLevel, indexBlockLevel, locationToSync, newReplicasProxy, syncOperationResultOrThrow
doExecute, doExecute, getIndexShard, registerRequestHandlers, resolveRequest, retryPrimaryException, sendReplicaRequest, transportOptions
execute, execute, execute, execute
@Inject public TransportShardDeleteAction(org.elasticsearch.common.settings.Settings settings, org.elasticsearch.transport.TransportService transportService, org.elasticsearch.cluster.metadata.IndexNameExpressionResolver indexNameExpressionResolver, org.elasticsearch.cluster.service.ClusterService clusterService, org.elasticsearch.indices.IndicesService indicesService, org.elasticsearch.threadpool.ThreadPool threadPool, org.elasticsearch.cluster.action.shard.ShardStateAction shardStateAction, org.elasticsearch.action.support.ActionFilters actionFilters, SchemaUpdateClient schemaUpdateClient)
protected org.elasticsearch.action.support.replication.TransportWriteAction.WritePrimaryResult<ShardDeleteRequest,ShardResponse> processRequestItems(org.elasticsearch.index.shard.IndexShard indexShard, ShardDeleteRequest request, java.util.concurrent.atomic.AtomicBoolean killed) throws java.io.IOException
processRequestItems
in class TransportShardAction<ShardDeleteRequest,ShardDeleteRequest.Item>
java.io.IOException
protected org.elasticsearch.action.support.replication.TransportWriteAction.WriteReplicaResult<ShardDeleteRequest> processRequestItemsOnReplica(org.elasticsearch.index.shard.IndexShard indexShard, ShardDeleteRequest request) throws java.io.IOException
processRequestItemsOnReplica
in class TransportShardAction<ShardDeleteRequest,ShardDeleteRequest.Item>
java.io.IOException