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

(cherry picked from commit 6f0756fc0e)
This commit is contained in:
Arpit Agarwal 2019-01-21 20:45:09 -08:00
parent 2253a86a3f
commit cd5e7f152f
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) {