CosmosBulkExecutionOptions
@Beta(value=V4_18_0, warningText="Preview API - subject to change in non-backwards compatible way") @Deprecated public final class BulkExecutionOptions extends Object
Constructor and Description |
---|
BulkExecutionOptions()
Deprecated.
|
BulkExecutionOptions(BulkExecutionThresholds thresholds)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
int |
getMaxMicroBatchConcurrency()
Deprecated.
|
Duration |
getMaxMicroBatchInterval()
Deprecated.
|
int |
getMaxMicroBatchSize()
Deprecated.
|
double |
getMaxTargetedMicroBatchRetryRate()
Deprecated.
|
double |
getMinTargetedMicroBatchRetryRate()
Deprecated.
|
BulkExecutionThresholds |
getThresholds()
Deprecated.
|
BulkExecutionOptions |
setMaxMicroBatchConcurrency(int maxMicroBatchConcurrency)
Deprecated.
|
BulkExecutionOptions |
setMaxMicroBatchInterval(Duration maxMicroBatchInterval)
Deprecated.
|
BulkExecutionOptions |
setMaxMicroBatchSize(int maxMicroBatchSize)
Deprecated.
|
BulkExecutionOptions |
setTargetedMicroBatchRetryRate(double minRetryRate,
double maxRetryRate)
Deprecated.
|
@Beta(value=V4_18_0, warningText="Preview API - subject to change in non-backwards compatible way") @Deprecated public BulkExecutionOptions(BulkExecutionThresholds thresholds)
thresholds
- thresholds@Beta(value=V4_18_0, warningText="Preview API - subject to change in non-backwards compatible way") @Deprecated public BulkExecutionOptions()
@Beta(value=V4_18_0, warningText="Preview API - subject to change in non-backwards compatible way") @Deprecated public int getMaxMicroBatchSize()
@Beta(value=V4_18_0, warningText="Preview API - subject to change in non-backwards compatible way") @Deprecated public BulkExecutionOptions setMaxMicroBatchSize(int maxMicroBatchSize)
maxMicroBatchSize
- batching size.@Beta(value=V4_18_0, warningText="Preview API - subject to change in non-backwards compatible way") @Deprecated public int getMaxMicroBatchConcurrency()
@Beta(value=V4_18_0, warningText="Preview API - subject to change in non-backwards compatible way") @Deprecated public BulkExecutionOptions setMaxMicroBatchConcurrency(int maxMicroBatchConcurrency)
maxMicroBatchConcurrency
- maximum concurrency.@Beta(value=V4_18_0, warningText="Preview API - subject to change in non-backwards compatible way") @Deprecated public Duration getMaxMicroBatchInterval()
@Beta(value=V4_18_0, warningText="Preview API - subject to change in non-backwards compatible way") @Deprecated public BulkExecutionOptions setMaxMicroBatchInterval(Duration maxMicroBatchInterval)
maxMicroBatchInterval
- duration after which operations will be flushed to form a new batch to be executed.@Beta(value=V4_18_0, warningText="Preview API - subject to change in non-backwards compatible way") @Deprecated public double getMaxTargetedMicroBatchRetryRate()
@Beta(value=V4_18_0, warningText="Preview API - subject to change in non-backwards compatible way") @Deprecated public BulkExecutionOptions setTargetedMicroBatchRetryRate(double minRetryRate, double maxRetryRate)
minRetryRate
- minimum targeted retry rate of batch requests. If the retry rate is
lower than this threshold the micro batch size will be dynamically increased over timemaxRetryRate
- maximum retry rate of batch requests that is treated as acceptable. If the retry rate is
higher than this threshold the micro batch size will be dynamically reduced over time@Beta(value=V4_18_0, warningText="Preview API - subject to change in non-backwards compatible way") @Deprecated public double getMinTargetedMicroBatchRetryRate()
@Beta(value=V4_18_0, warningText="Preview API - subject to change in non-backwards compatible way") @Deprecated public BulkExecutionThresholds getThresholds()
Copyright © 2021 Microsoft Corporation. All rights reserved.