HDFS-14222. Make ThrottledAsyncChecker constructor public. Contributed by Arpit Agarwal.
(cherry picked from commit 6f0756fc0e
)
This commit is contained in:
parent
cf520b7d64
commit
78b45977b1
|
@ -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