Skip to content

Commit 1a904ec

Browse files
authored
Updating Javadocs for RequestRetryOptions and BlobParallelUploadOptions (Azure#29494)
1 parent a88aa28 commit 1a904ec

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/options/BlobParallelUploadOptions.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ public BlobParallelUploadOptions(InputStream dataStream, long length) {
7171

7272
/**
7373
* Constructs a new {@link BlobParallelUploadOptions}.
74+
* Note: the {@link InputStream} must be closed by the caller.
7475
*
7576
* @param dataStream The data to write to the blob.
7677
*/
@@ -80,6 +81,7 @@ public BlobParallelUploadOptions(InputStream dataStream) {
8081

8182
/**
8283
* Common constructor for building options from InputStream.
84+
* Note: the {@link InputStream} must be closed by the caller.
8385
*
8486
* @param dataStream The data to write to the blob.
8587
* @param length Optional known length of the data, affects reactive behavior for backwards compatibility.

sdk/storage/azure-storage-common/src/main/java/com/azure/storage/common/policy/RequestRetryOptions.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,10 @@ public RequestRetryOptions(RetryPolicyType retryPolicyType, Integer maxTries, In
7878
* <p>This value should be based on the bandwidth available to the host machine and proximity to the Storage
7979
* service, a good starting point may be 60 seconds per MB of anticipated payload size.</p>
8080
* @param retryDelay Optional. Specifies the amount of delay to use before retrying an operation, default value
81-
* is {@code 4ms} when {@code retryPolicyType} is {@link RetryPolicyType#EXPONENTIAL EXPONENTIAL} and {@code 30ms}
81+
* is {@code 4s} when {@code retryPolicyType} is {@link RetryPolicyType#EXPONENTIAL EXPONENTIAL} and {@code 30s}
8282
* when {@code retryPolicyType} is {@link RetryPolicyType#FIXED FIXED}.
8383
* @param maxRetryDelay Optional. Specifies the maximum delay allowed before retrying an operation, default
84-
* value is {@code 120ms}.
84+
* value is {@code 120s}.
8585
* @param secondaryHost Optional. Specified a secondary Storage account to retry requests against, default is none.
8686
*
8787
* <p>Before setting this understand the issues around reading stale and potentially-inconsistent data, view these

0 commit comments

Comments
 (0)