Package ai.platon.pulsar.context.support
Class StaticPulsarContext
-
- All Implemented Interfaces:
-
ai.platon.pulsar.context.PulsarContext,java.lang.AutoCloseable
public final class StaticPulsarContext extends BasicPulsarContext
-
-
Field Summary
Fields Modifier and Type Field Description private final ImmutableConfigunmodifiedConfigprivate final ChainedUrlNormalizerurlNormalizersprivate final ChainedUrlNormalizerurlNormalizerprivate final WebDbwebDbprivate final GlobalCacheFactoryglobalCacheFactoryprivate final InjectComponentinjectComponentprivate final BatchFetchComponentfetchComponentprivate final ParseComponentparseComponentprivate final UpdateComponentupdateComponentprivate final LoadComponentloadComponentprivate final CrawlLoopscrawlLoopsprivate final BooleanisActiveprivate final Integeridprivate final ChainedUrlNormalizerurlNormalizerOrNullprivate final GlobalCacheglobalCacheprivate final UrlPoolcrawlPoolprivate final LongstartTimeprivate final ConcurrentSkipListMap<Integer, PulsarSession>sessionsprivate final AbstractApplicationContextapplicationContextprivate final PulsarEnvironmentpulsarEnvironment
-
Constructor Summary
Constructors Constructor Description StaticPulsarContext(StaticApplicationContext applicationContext)
-
Method Summary
Modifier and Type Method Description ImmutableConfiggetUnmodifiedConfig()ChainedUrlNormalizergetUrlNormalizers()ChainedUrlNormalizergetUrlNormalizer()WebDbgetWebDb()GlobalCacheFactorygetGlobalCacheFactory()InjectComponentgetInjectComponent()BatchFetchComponentgetFetchComponent()ParseComponentgetParseComponent()UpdateComponentgetUpdateComponent()LoadComponentgetLoadComponent()CrawlLoopsgetCrawlLoops()-
Methods inherited from class ai.platon.pulsar.context.support.AbstractPulsarContext
await, close, closeSession, delete, delete, exists, fetchState, flush, get, get, getApplicationContext, getBean, getBean, getBeanOrNull, getBeanOrNull, getContent, getContentAsString, getCrawlPool, getGlobalCache, getId, getOrNull, getOrNull, getPulsarEnvironment, getSessions, getStartTime, getUrlNormalizerOrNull, inject, inject, isActive, load, load, load, loadAll, loadAll, loadAllAsync, loadAsync, loadDeferred, normalize, normalize, normalize, normalize, normalizeOrNull, normalizeOrNull, parse, persist, registerClosable, registerShutdownHook, scan, scan, scan, submit, submitAll -
Methods inherited from class ai.platon.pulsar.context.support.BasicPulsarContext
createSession -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getUnmodifiedConfig
ImmutableConfig getUnmodifiedConfig()
-
getUrlNormalizers
ChainedUrlNormalizer getUrlNormalizers()
-
getUrlNormalizer
ChainedUrlNormalizer getUrlNormalizer()
-
getWebDb
WebDb getWebDb()
-
getGlobalCacheFactory
GlobalCacheFactory getGlobalCacheFactory()
-
getInjectComponent
InjectComponent getInjectComponent()
-
getFetchComponent
BatchFetchComponent getFetchComponent()
-
getParseComponent
ParseComponent getParseComponent()
-
getUpdateComponent
UpdateComponent getUpdateComponent()
-
getLoadComponent
LoadComponent getLoadComponent()
-
getCrawlLoops
CrawlLoops getCrawlLoops()
-
-
-
-