anmolanmol1234 commented on code in PR #8464:
URL: https://github.com/apache/hadoop/pull/8464#discussion_r3225569120
##########
hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/services/ExponentialRetryPolicy.java:
##########
@@ -94,6 +94,21 @@ public ExponentialRetryPolicy(AbfsConfiguration conf) {
conf.getBackoffIntervalMilliseconds());
}
+ /**
+ * Creates an {@link ExponentialRetryPolicy} configured with prefetch retry
+ * settings read from the given {@link AbfsConfiguration}.
+ *
+ * @param conf The {@link AbfsConfiguration} from which to retrieve prefetch
retry configuration.
+ * @return a new {@link ExponentialRetryPolicy} for prefetch operations.
+ */
+ public static ExponentialRetryPolicy forPrefetch(AbfsConfiguration conf) {
Review Comment:
naming doesn't looks correct should be something like prefetchRetryPolicy
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]