Class BatchFetchComponent
-
- All Implemented Interfaces:
-
java.lang.AutoCloseable
public final class BatchFetchComponent extends FetchComponent
-
-
Field Summary
Fields Modifier and Type Field Description private final WebDbwebDbprivate final GlobalCacheFactoryglobalCacheFactoryprivate final BooleanisActiveprivate final CoreMetricscoreMetricsprivate final ProtocolFactoryprotocolFactoryprivate final ImmutableConfigimmutableConfig
-
Constructor Summary
Constructors Constructor Description BatchFetchComponent(WebDb webDb, ImmutableConfig immutableConfig)BatchFetchComponent(WebDb webDb, GlobalCacheFactory globalCacheFactory, CoreMetrics coreMetrics, ProtocolFactory protocolFactory, ImmutableConfig immutableConfig)
-
Method Summary
Modifier and Type Method Description final WebDbgetWebDb()final GlobalCacheFactorygetGlobalCacheFactory()-
Methods inherited from class ai.platon.pulsar.skeleton.crawl.component.FetchComponent
close, fetch, fetch, fetchContent, fetchContent, fetchContentDeferred, getCoreMetrics, getImmutableConfig, getProtocolFactory, isActive -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
BatchFetchComponent
BatchFetchComponent(WebDb webDb, ImmutableConfig immutableConfig)
-
BatchFetchComponent
BatchFetchComponent(WebDb webDb, GlobalCacheFactory globalCacheFactory, CoreMetrics coreMetrics, ProtocolFactory protocolFactory, ImmutableConfig immutableConfig)
-
-
Method Detail
-
getWebDb
final WebDb getWebDb()
-
getGlobalCacheFactory
final GlobalCacheFactory getGlobalCacheFactory()
-
-
-
-