HDFS-14222. Make ThrottledAsyncChecker constructor public. Contributed by Arpit Agarwal.
This commit is contained in:
parent
1ff658b2ef
commit
6f0756fc0e
|
@ -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