HDFS-14222. Make ThrottledAsyncChecker constructor public. Contributed by Arpit Agarwal.
(cherry picked from commit 6f0756fc0e
)
This commit is contained in:
parent
2253a86a3f
commit
cd5e7f152f
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue