Package ai.platon.pulsar.common.proxy
Class ProxyPoolMonitor
-
- All Implemented Interfaces:
-
java.lang.AutoCloseable
public class ProxyPoolMonitor extends GracefulScheduledExecutor
-
-
Field Summary
Fields Modifier and Type Field Description private final ProxyPoolproxyPoolprivate final BooleanisClosedprivate DurationinitialDelayprivate Durationintervalprivate final ScheduledExecutorServiceexecutor
-
Constructor Summary
Constructors Constructor Description ProxyPoolMonitor(ProxyPool proxyPool, ImmutableConfig conf)
-
Method Summary
Modifier and Type Method Description final ProxyPoolgetProxyPool()Unitrun()-
Methods inherited from class ai.platon.pulsar.common.concurrent.GracefulScheduledExecutor
close, getExecutor, getInitialDelay, getInterval, isClosed, setInitialDelay, setInterval, start, start, start, start, start, start -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
ProxyPoolMonitor
ProxyPoolMonitor(ProxyPool proxyPool, ImmutableConfig conf)
-
-
Method Detail
-
getProxyPool
final ProxyPool getProxyPool()
-
-
-
-