JacksonYao287 commented on a change in pull request #2685:
URL: https://github.com/apache/ozone/pull/2685#discussion_r719566823
##########
File path:
hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/fs/CachingSpaceUsageSource.java
##########
@@ -45,31 +38,18 @@
private static final Logger LOG =
LoggerFactory.getLogger(CachingSpaceUsageSource.class);
- private final ScheduledExecutorService executor;
private final AtomicLong cachedValue = new AtomicLong();
- private final Duration refresh;
+ private final Duration refreshInterVal;
private final SpaceUsageSource source;
private final SpaceUsagePersistence persistence;
private boolean running;
- private ScheduledFuture<?> scheduledFuture;
-
- public CachingSpaceUsageSource(SpaceUsageCheckParams params) {
- this(params, createExecutor(params));
- }
@VisibleForTesting
Review comment:
sure, will fix this
--
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]