Package ai.platon.pulsar.crawl.common
Class GlobalCacheFactory
-
- All Implemented Interfaces:
public final class GlobalCacheFactoryThe global cache factory.
-
-
Field Summary
Fields Modifier and Type Field Description private final GlobalCachereflectedGlobalCacheprivate GlobalCachespecifiedGlobalCacheprivate final GlobalCacheglobalCacheprivate final ImmutableConfigimmutableConfig
-
Constructor Summary
Constructors Constructor Description GlobalCacheFactory(ImmutableConfig immutableConfig)
-
Method Summary
Modifier and Type Method Description final GlobalCachegetReflectedGlobalCache()final GlobalCachegetSpecifiedGlobalCache()final UnitsetSpecifiedGlobalCache(GlobalCache specifiedGlobalCache)final GlobalCachegetGlobalCache()final ImmutableConfiggetImmutableConfig()-
-
Method Detail
-
getReflectedGlobalCache
final GlobalCache getReflectedGlobalCache()
-
getSpecifiedGlobalCache
final GlobalCache getSpecifiedGlobalCache()
-
setSpecifiedGlobalCache
final Unit setSpecifiedGlobalCache(GlobalCache specifiedGlobalCache)
-
getGlobalCache
final GlobalCache getGlobalCache()
-
getImmutableConfig
final ImmutableConfig getImmutableConfig()
-
-
-
-