public class TransportShardDeleteAction extends TransportShardAction<ShardDeleteRequest>
org.elasticsearch.action.support.replication.TransportReplicationAction.RetryOnPrimaryException, org.elasticsearch.action.support.replication.TransportReplicationAction.RetryOnReplicaException, org.elasticsearch.action.support.replication.TransportReplicationAction.WriteResult<T extends org.elasticsearch.action.ActionWriteResponse>
clusterService, defaultWriteConsistencyLevel, indicesService, mappingUpdatedAction, shardStateAction, transportOptions, transportService
Constructor and Description |
---|
TransportShardDeleteAction(org.elasticsearch.common.settings.Settings settings,
org.elasticsearch.transport.TransportService transportService,
org.elasticsearch.cluster.action.index.MappingUpdatedAction mappingUpdatedAction,
org.elasticsearch.cluster.metadata.IndexNameExpressionResolver indexNameExpressionResolver,
org.elasticsearch.cluster.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) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
checkWriteConsistency() |
protected ShardResponse |
processRequestItems(org.elasticsearch.index.shard.ShardId shardId,
ShardDeleteRequest request,
java.util.concurrent.atomic.AtomicBoolean killed) |
protected void |
processRequestItemsOnReplica(org.elasticsearch.index.shard.ShardId shardId,
ShardDeleteRequest request) |
killAllJobs, killJob, newResponseInstance, resolveIndex, shardOperationOnPrimary, shardOperationOnReplica, wrapOperationInKillable
doExecute, doExecute, getIndexShardOperationsCounter, globalBlockLevel, ignoreReplicaException, indexBlockLevel, isConflictException, processAfterWrite, resolveRequest, retryPrimaryException, shouldExecuteReplication, transportOptions
execute, execute, execute, execute
@Inject public TransportShardDeleteAction(org.elasticsearch.common.settings.Settings settings, org.elasticsearch.transport.TransportService transportService, org.elasticsearch.cluster.action.index.MappingUpdatedAction mappingUpdatedAction, org.elasticsearch.cluster.metadata.IndexNameExpressionResolver indexNameExpressionResolver, org.elasticsearch.cluster.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)
protected boolean checkWriteConsistency()
checkWriteConsistency
in class org.elasticsearch.action.support.replication.TransportReplicationAction<ShardDeleteRequest,ShardDeleteRequest,ShardResponse>
protected ShardResponse processRequestItems(org.elasticsearch.index.shard.ShardId shardId, ShardDeleteRequest request, java.util.concurrent.atomic.AtomicBoolean killed) throws java.lang.InterruptedException
processRequestItems
in class TransportShardAction<ShardDeleteRequest>
java.lang.InterruptedException
protected void processRequestItemsOnReplica(org.elasticsearch.index.shard.ShardId shardId, ShardDeleteRequest request)
processRequestItemsOnReplica
in class TransportShardAction<ShardDeleteRequest>