Class StaticPulsarContext
-
- All Implemented Interfaces:
-
ai.platon.pulsar.skeleton.context.PulsarContext,java.lang.AutoCloseable
public final class StaticPulsarContext extends BasicPulsarContext
-
-
Field Summary
Fields Modifier and Type Field Description private final ImmutableConfigunmodifiedConfigprivate final ChainedUrlNormalizerurlNormalizerprivate final WebDbwebDbprivate final GlobalCacheFactoryglobalCacheFactoryprivate 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, AbstractPulsarSession>sessionsprivate final AbstractApplicationContextapplicationContextprivate final PulsarEnvironmentpulsarEnvironment
-
Constructor Summary
Constructors Constructor Description StaticPulsarContext(StaticApplicationContext applicationContext)
-
Method Summary
Modifier and Type Method Description ImmutableConfiggetUnmodifiedConfig()ChainedUrlNormalizergetUrlNormalizer()WebDbgetWebDb()GlobalCacheFactorygetGlobalCacheFactory()BatchFetchComponentgetFetchComponent()ParseComponentgetParseComponent()UpdateComponentgetUpdateComponent()LoadComponentgetLoadComponent()CrawlLoopsgetCrawlLoops()-
Methods inherited from class ai.platon.pulsar.skeleton.context.support.AbstractPulsarContext
await, chat, chat, close, closeSession, delete, delete, exists, fetchState, flush, get, get, getApplicationContext, getBean, getBean, getBeanOrNull, getBeanOrNull, getContent, getContentAsString, getCrawlPool, getGlobalCache, getId, getOrCreateSession, getOrNull, getOrNull, getPulsarEnvironment, getSessions, getStartTime, getUrlNormalizerOrNull, isActive, load, load, load, loadAll, loadAll, loadAllAsync, loadAsync, loadDeferred, normalize, normalize, normalize, normalize, normalizeOrNull, normalizeOrNull, open, parse, persist, registerClosable, registerShutdownHook, scan, scan, scan, submit, submitAll -
Methods inherited from class ai.platon.pulsar.skeleton.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()
-
getUrlNormalizer
ChainedUrlNormalizer getUrlNormalizer()
-
getWebDb
WebDb getWebDb()
-
getGlobalCacheFactory
GlobalCacheFactory getGlobalCacheFactory()
-
getFetchComponent
BatchFetchComponent getFetchComponent()
-
getParseComponent
ParseComponent getParseComponent()
-
getUpdateComponent
UpdateComponent getUpdateComponent()
-
getLoadComponent
LoadComponent getLoadComponent()
-
getCrawlLoops
CrawlLoops getCrawlLoops()
-
-
-
-