Package de.hybris.platform.cache.impl
Class CacheFactory
java.lang.Object
de.hybris.platform.cache.impl.CacheFactory
Class has all Cache instantiation methods.
On the base of cache.legacymode from advanced properties it creates regioncache or old cache (cache2) instances.
On the base of cache.legacymode from advanced properties it creates regioncache or old cache (cache2) instances.
This class is used also to bootstrap CacheController. Existing legacy code uses static class-level constructs
to bootstrap Cache, so it's impossible to use Spring dependency injection directly.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateCacheInstance(Tenant tenant) createCacheInstance(Tenant tenant, int cacheSize) createCacheInstance(Tenant tenant, int cacheSize, boolean forceExclusiveComputation) createCacheInstance(Tenant slaveTenant, Tenant masterTenant) static booleanisLegacyMode(Tenant tenant)
-
Field Details
-
REGION_CACHE
- See Also:
-
CACHE_LEGACY_MODE
- See Also:
-
-
Constructor Details
-
CacheFactory
public CacheFactory()
-
-
Method Details
-
createCacheInstance
-
isLegacyMode
-
createCacheInstance
-
createCacheInstance
-
createCacheInstance
-