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 ImmutableConfigconfigurationprivate final ChainedUrlNormalizerurlNormalizerprivate final WebDbwebDbprivate final GlobalCacheFactoryglobalCacheFactoryprivate final BatchFetchComponentfetchComponentprivate final ParseComponentparseComponentprivate final UpdateComponentupdateComponentprivate final LoadComponentloadComponentprivate final TaskLoopstaskLoopsprivate final BooleanisActiveprivate final Integeridprivate final ChainedUrlNormalizerurlNormalizerOrNullprivate final BrowserFetcherbrowserFetcherprivate final GlobalCacheglobalCacheprivate final BrowserManagerbrowserManagerprivate final LongstartTimeprivate final ConcurrentSkipListMap<Long, AbstractPulsarSession>sessionsprivate final AbstractApplicationContextapplicationContext
-
Constructor Summary
Constructors Constructor Description StaticPulsarContext(StaticApplicationContext applicationContext)
-
Method Summary
Modifier and Type Method Description ImmutableConfiggetConfiguration()ChainedUrlNormalizergetUrlNormalizer()WebDbgetWebDb()GlobalCacheFactorygetGlobalCacheFactory()BatchFetchComponentgetFetchComponent()ParseComponentgetParseComponent()UpdateComponentgetUpdateComponent()LoadComponentgetLoadComponent()TaskLoopsgetTaskLoops()-
Methods inherited from class ai.platon.pulsar.skeleton.context.support.AbstractPulsarContext
await, capture, chat, chat, close, closeSession, delete, delete, exists, fetchState, flush, get, get, getApplicationContext, getBean, getBean, getBeanOrNull, getBeanOrNull, getBrowserFetcher, getBrowserManager, getContent, getContentAsString, getGlobalCache, getId, getOrCreateSession, getOrCreateSession, getOrNull, getOrNull, 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, createSession -
Methods inherited from class ai.platon.pulsar.skeleton.context.PulsarContext
launchDefaultBrowser, launchPrototypeBrowser, launchRandomTempBrowser, launchSystemDefaultBrowser -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getConfiguration
ImmutableConfig getConfiguration()
-
getUrlNormalizer
ChainedUrlNormalizer getUrlNormalizer()
-
getWebDb
WebDb getWebDb()
-
getGlobalCacheFactory
GlobalCacheFactory getGlobalCacheFactory()
-
getFetchComponent
BatchFetchComponent getFetchComponent()
-
getParseComponent
ParseComponent getParseComponent()
-
getUpdateComponent
UpdateComponent getUpdateComponent()
-
getLoadComponent
LoadComponent getLoadComponent()
-
getTaskLoops
TaskLoops getTaskLoops()
-
-
-
-