HDFS-14222. Make ThrottledAsyncChecker constructor public. Contributed by Arpit Agarwal.

This commit is contained in:
Arpit Agarwal 2019-01-21 20:45:09 -08:00
parent 1ff658b2ef
commit 6f0756fc0e
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ public class ThrottledAsyncChecker<K, V> implements AsyncChecker<K, V> {
*/ */
private final Map<Checkable, LastCheckResult<V>> completedChecks; private final Map<Checkable, LastCheckResult<V>> completedChecks;
ThrottledAsyncChecker(final Timer timer, public ThrottledAsyncChecker(final Timer timer,
final long minMsBetweenChecks, final long minMsBetweenChecks,
final long diskCheckTimeout, final long diskCheckTimeout,
final ExecutorService executorService) { final ExecutorService executorService) {