bhattmanish98 commented on code in PR #7817:
URL: https://github.com/apache/hadoop/pull/7817#discussion_r2313994658


##########
hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/services/AbfsConnectionManager.java:
##########
@@ -70,39 +69,44 @@ class AbfsConnectionManager implements 
HttpClientConnectionManager {
   private final HttpClientConnectionOperator connectionOperator;
 
   /**
-   * Number of connections to be created during cache refresh.
+   * AbfsConfiguration instance to get configuration values.
    */
-  private final int cacheRefreshConnections;
+  private final AbfsConfiguration abfsConfiguration;
 
   /**
-   * Connection timeout for establishing a new connection.
+   * Atomic boolean to ensure only one thread can trigger cache refresh at a 
time.
    */
-  private final int connectionTimeout;
-
-  private final AtomicBoolean isCaching = new AtomicBoolean(false);
+  private final AtomicBoolean isCacheRefreshInProgress = new AtomicBoolean(

Review Comment:
   IDE formatted it according to the template; I didn't make this change myself.



-- 
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: common-issues-unsubscr...@hadoop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to