Class AbstractBrowserPrivacyManager
-
- All Implemented Interfaces:
-
ai.platon.pulsar.protocol.browser.emulator.context.BrowserPrivacyManager,ai.platon.pulsar.skeleton.crawl.fetch.privacy.PrivacyManager,java.lang.AutoCloseable
public abstract class AbstractBrowserPrivacyManager extends AbstractPrivacyManager implements BrowserPrivacyManager
-
-
Field Summary
Fields Modifier and Type Field Description private final WebDriverPoolManagerdriverPoolManagerprivate final ProxyPoolManagerproxyPoolManagerprivate final ImmutableConfigconfprivate final BooleanisActiveprivate final BooleanisClosedprivate final Map<PrivacyAgent, PrivacyContext>activeContextsprivate final ObjectcontextLifeCycleMonitorprivate final ConcurrentLinkedDeque<PrivacyContext>deadContextsprivate final ConcurrentHashMap<PrivacyAgent, PrivacyContext>permanentContextsprivate final PrivacyAgentGeneratorprivacyAgentGeneratorprivate final ConcurrentHashMap<PrivacyAgent, PrivacyContext>temporaryContextsprivate final ConcurrentLinkedDeque<PrivacyContext>zombieContexts
-
Constructor Summary
Constructors Constructor Description AbstractBrowserPrivacyManager(WebDriverPoolManager driverPoolManager, ProxyPoolManager proxyPoolManager, ImmutableConfig conf)
-
Method Summary
Modifier and Type Method Description WebDriverPoolManagergetDriverPoolManager()ProxyPoolManagergetProxyPoolManager()-
Methods inherited from class ai.platon.pulsar.skeleton.crawl.fetch.privacy.PrivacyManager
close, computeIfAbsent, computeIfNecessary, computeIfNecessary, computeNextContext, computeNextContext, createUnmanagedContext, createUnmanagedContext, getConf, isActive, isClosed, maintain, reset, run, takeSnapshot -
Methods inherited from class ai.platon.pulsar.skeleton.crawl.fetch.privacy.AbstractPrivacyManager
getActiveContexts, getContextLifeCycleMonitor, getDeadContexts, getPermanentContexts, getPrivacyAgentGenerator, getTemporaryContexts, getZombieContexts -
Methods inherited from class java.lang.AutoCloseable
close -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
AbstractBrowserPrivacyManager
AbstractBrowserPrivacyManager(WebDriverPoolManager driverPoolManager, ProxyPoolManager proxyPoolManager, ImmutableConfig conf)
-
-
Method Detail
-
getDriverPoolManager
WebDriverPoolManager getDriverPoolManager()
-
getProxyPoolManager
ProxyPoolManager getProxyPoolManager()
-
-
-
-