-
-
Field Summary
Fields
Modifier and Type |
Field |
Description |
static java.lang.String |
ACTION_NAME |
|
Fields inherited from class org.elasticsearch.action.support.replication.TransportReplicationAction
clusterService, executor, forceExecutionOnPrimary, indicesService, REPLICATION_INITIAL_RETRY_BACKOFF_BOUND, REPLICATION_RETRY_TIMEOUT, shardStateAction, threadPool, transportOptions, transportPrimaryAction, transportReplicaAction, transportService
-
Constructor Summary
Constructors
Constructor |
Description |
TransportShardBulkAction(Settings settings,
TransportService transportService,
ClusterService clusterService,
IndicesService indicesService,
ThreadPool threadPool,
ShardStateAction shardStateAction,
MappingUpdatedAction mappingUpdatedAction,
UpdateHelper updateHelper,
ActionFilters actionFilters,
IndexingPressure indexingPressure,
SystemIndices systemIndices) |
|
-
Method Summary
Modifier and Type |
Method |
Description |
protected void |
dispatchedShardOperationOnPrimary(BulkShardRequest request,
IndexShard primary,
ActionListener<TransportReplicationAction.PrimaryResult<BulkShardRequest,BulkShardResponse>> listener) |
|
protected void |
dispatchedShardOperationOnReplica(BulkShardRequest request,
IndexShard replica,
ActionListener<TransportReplicationAction.ReplicaResult> listener) |
|
protected BulkShardResponse |
newResponseInstance(StreamInput in) |
|
static void |
performOnPrimary(BulkShardRequest request,
IndexShard primary,
UpdateHelper updateHelper,
java.util.function.LongSupplier nowInMillisSupplier,
MappingUpdatePerformer mappingUpdater,
java.util.function.Consumer<ActionListener<java.lang.Void>> waitForMappingUpdate,
ActionListener<TransportReplicationAction.PrimaryResult<BulkShardRequest,BulkShardResponse>> listener,
ThreadPool threadPool,
java.lang.String executorName) |
|
static Translog.Location |
performOnReplica(BulkShardRequest request,
IndexShard replica) |
|
protected long |
primaryOperationSize(BulkShardRequest request) |
|
protected long |
replicaOperationSize(BulkShardRequest request) |
|
protected TransportRequestOptions |
transportOptions() |
|
Methods inherited from class org.elasticsearch.action.support.replication.TransportWriteAction
checkOperationLimits, checkPrimaryLimits, checkReplicaLimits, executor, force, globalBlockLevel, indexBlockLevel, isSystemShard, locationToSync, newReplicasProxy, shardOperationOnPrimary, shardOperationOnReplica, syncOperationResultOrThrow
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Details
-
TransportShardBulkAction
@Inject
public TransportShardBulkAction(
Settings settings,
TransportService transportService,
ClusterService clusterService,
IndicesService indicesService,
ThreadPool threadPool,
ShardStateAction shardStateAction,
MappingUpdatedAction mappingUpdatedAction,
UpdateHelper updateHelper,
ActionFilters actionFilters,
IndexingPressure indexingPressure,
SystemIndices systemIndices)
-