@@ -46,10 +46,10 @@ public RequestRetryOptions() {
46
46
* <p>This value should be based on the bandwidth available to the host machine and proximity to the Storage
47
47
* service, a good starting point may be 60 seconds per MB of anticipated payload size.</p>
48
48
* @param retryDelayInMs Optional. Specifies the amount of delay to use before retrying an operation, default value
49
- * is {@code 4ms } when {@code retryPolicyType} is {@link RetryPolicyType#EXPONENTIAL EXPONENTIAL} and {@code 30ms}
50
- * when {@code retryPolicyType} is {@link RetryPolicyType#FIXED FIXED}.
49
+ * is {@code 4_000ms } when {@code retryPolicyType} is {@link RetryPolicyType#EXPONENTIAL EXPONENTIAL} and {@code
50
+ * 30_000ms} when {@code retryPolicyType} is {@link RetryPolicyType#FIXED FIXED}.
51
51
* @param maxRetryDelayInMs Optional. Specifies the maximum delay allowed before retrying an operation, default
52
- * value is {@code 120ms }.
52
+ * value is {@code 120_000ms }.
53
53
* @param secondaryHost Optional. Specified a secondary Storage account to retry requests against, default is none.
54
54
*
55
55
* <p>Before setting this understand the issues around reading stale and potentially-inconsistent data, view these
@@ -224,7 +224,7 @@ public Duration getMaxRetryDelay() {
224
224
}
225
225
226
226
/**
227
- * Calculates how long to delay before sending the next request.
227
+ * Calculates how long in milliseconds to delay before sending the next request.
228
228
*
229
229
* @param tryCount An {@code int} indicating which try we are on.
230
230
* @return A {@code long} value of how many milliseconds to delay.
@@ -258,7 +258,8 @@ private long powOfTwo(int exponent) {
258
258
}
259
259
260
260
/**
261
- * Creates new {@link RequestRetryOptions} from {@link RetryOptions} and let specify storage specific parameters.
261
+ * Creates new {@link RequestRetryOptions} from {@link RetryOptions} and let the user specify storage specific
262
+ * parameters.
262
263
*
263
264
* @param retryOptions The {@link RetryOptions}.
264
265
* @param tryTimeout Optional. Specified the maximum time allowed before a request is cancelled and
0 commit comments