Class DefaultWebDriverPoolManager
-
- All Implemented Interfaces:
-
ai.platon.pulsar.common.config.Parameterized,java.lang.AutoCloseable
public final class DefaultWebDriverPoolManager extends WebDriverPoolManager
-
-
Field Summary
Fields Modifier and Type Field Description private final BooleanisActiveprivate final BooleanisReadyprivate final DurationidleTimeoutprivate final Map<BrowserId, LoadingWebDriverPool>workingDriverPoolsprivate final Map<BrowserId, LoadingWebDriverPool>retiredDriverPoolsprivate final Set<BrowserId>closedDriverPoolsprivate final InstantstartTimeprivate InstantlastActiveTimeprivate final DurationidleTimeprivate final BooleanisIdleprivate final <Error class: unknown class>numWaitingTasksprivate final <Error class: unknown class>numStandbyDriversprivate final <Error class: unknown class>numWorkingDriversprivate final <Error class: unknown class>numAvailableDriverSlotsprivate final <Error class: unknown class>numActiveDriversprivate final <Error class: unknown class>numDyingDriversprivate final IntegernumClosedDriversprivate final IntegermaxAllowedDyingDriversprivate final <Error class: unknown class>numResetprivate final <Error class: unknown class>numTimeoutprivate final <Error class: unknown class>gaugesprivate final <Error class: unknown class>browserManagerprivate final ImmutableConfigimmutableConfigprivate final BooleansuppressMetricsprivate final BooleanhasEventprivate final BooleanisNormalprivate final BooleanisPreemptedprivate final Stringname
-
Constructor Summary
Constructors Constructor Description DefaultWebDriverPoolManager(ImmutableConfig conf)
-
Method Summary
Modifier and Type Method Description -
Methods inherited from class ai.platon.pulsar.protocol.browser.driver.WebDriverPoolManager
buildStatusString, buildStatusString, cancel, cancel, cancelAll, cancelAll, close, closeBrowserAccompaniedDriverPoolForcibly, closeBrowserAccompaniedDriverPoolGracefully, createUnmanagedDriverPool, getBrowserManager, getClosedDriverPools, getGauges, getIdleTime, getIdleTimeout, getImmutableConfig, getLastActiveTime, getMaxAllowedDyingDrivers, getNumActiveDrivers, getNumAvailableDriverSlots, getNumClosedDrivers, getNumDyingDrivers, getNumReset, getNumStandbyDrivers, getNumTimeout, getNumWaitingTasks, getNumWorkingDrivers, getRetiredDriverPools, getStartTime, getSuppressMetrics, getWorkingDriverPools, hasDriverPromise, hasPossibility, isActive, isActivePool, isFullCapacity, isIdle, isReady, isRetiredPool, maintain, promisedDriverCount, run, run, setLastActiveTime, subscribeDriver, subscribeDriver, toString -
Methods inherited from class ai.platon.pulsar.common.concurrent.PreemptChannelSupport
formatPreemptChannelStatus, getHasEvent, getName, isNormal, isPreempted, preempt, releaseLocks, whenNormal, whenNormalDeferred -
Methods inherited from class ai.platon.pulsar.common.config.Parameterized
getParams -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-