Uses of Interface
de.hybris.platform.regioncache.key.CacheKey
-
-
Uses of CacheKey in de.hybris.platform.acceleratorcms.component.cache
Methods in de.hybris.platform.acceleratorcms.component.cache that return CacheKey Modifier and Type Method Description CacheKeyCmsCacheKeyProvider. getKey(javax.servlet.http.HttpServletRequest request, C component)CacheKeyCmsCacheService. getKey(javax.servlet.http.HttpServletRequest request, AbstractCMSComponentModel component)Gets the cache key for the current component and requestMethods in de.hybris.platform.acceleratorcms.component.cache with parameters of type CacheKey Modifier and Type Method Description java.lang.StringCmsCacheService. get(CacheKey key)Gets cache content by keyvoidCmsCacheService. put(CacheKey key, java.lang.String content)Stores cache content by key -
Uses of CacheKey in de.hybris.platform.acceleratorcms.component.cache.impl
Classes in de.hybris.platform.acceleratorcms.component.cache.impl that implement CacheKey Modifier and Type Class Description static classDefaultCmsCacheKeyProvider.CmsCacheKeyMethods in de.hybris.platform.acceleratorcms.component.cache.impl that return CacheKey Modifier and Type Method Description CacheKeyDefaultCmsCacheKeyProvider. getKey(javax.servlet.http.HttpServletRequest request, SimpleCMSComponentModel component)CacheKeyDefaultCmsCacheService. getKey(javax.servlet.http.HttpServletRequest request, AbstractCMSComponentModel component)Methods in de.hybris.platform.acceleratorcms.component.cache.impl with parameters of type CacheKey Modifier and Type Method Description java.lang.StringDefaultCmsCacheService. get(CacheKey key)voidDefaultCmsCacheService. put(CacheKey key, java.lang.String content) -
Uses of CacheKey in de.hybris.platform.adaptivesearch.strategies.impl
Classes in de.hybris.platform.adaptivesearch.strategies.impl that implement CacheKey Modifier and Type Class Description protected static classDefaultAsCacheStrategy.HybrisAsCacheKey -
Uses of CacheKey in de.hybris.platform.cache
Fields in de.hybris.platform.cache declared as CacheKey Modifier and Type Field Description protected CacheKeyAbstractCacheUnit. cacheKeyMethods in de.hybris.platform.cache that return CacheKey Modifier and Type Method Description CacheKeyAbstractCacheUnit. getKey()Methods in de.hybris.platform.cache with parameters of type CacheKey Modifier and Type Method Description java.lang.ObjectAbstractCacheUnit. load(CacheKey key)We do not perform compute not to hit database several times from different threads.
Another reason is to keep lifecycle of hooks in the same order. -
Uses of CacheKey in de.hybris.platform.cache.impl
Methods in de.hybris.platform.cache.impl with parameters of type CacheKey Modifier and Type Method Description voidRegionCacheAdapter. onAfterAdd(CacheKey key, java.lang.Object value, CacheRegion region)voidRegionCacheAdapter. onAfterEviction(CacheKey key, java.lang.Object value, CacheRegion region)voidRegionCacheAdapter. onAfterRemove(CacheKey key, java.lang.Object value, CacheRegion region)voidRegionCacheAdapter. onMissLoad(CacheKey key, java.lang.Object value, CacheRegion lruCacheRegion) -
Uses of CacheKey in de.hybris.platform.jalo
Classes in de.hybris.platform.jalo that implement CacheKey Modifier and Type Class Description static classJaloTypeCacheUnit.JaloTypeCacheKey -
Uses of CacheKey in de.hybris.platform.jalo.c2l
Classes in de.hybris.platform.jalo.c2l that implement CacheKey Modifier and Type Class Description static classC2LManager.C2LCacheKey -
Uses of CacheKey in de.hybris.platform.jalo.flexiblesearch
Classes in de.hybris.platform.jalo.flexiblesearch that implement CacheKey Modifier and Type Class Description static classFlexibleSearch.FlexibleSearchCacheKeyDeprecated.Special case we do not handle AbstractLegacyRegistrableCacheKey because we need to extend it. -
Uses of CacheKey in de.hybris.platform.media.storage.impl
Classes in de.hybris.platform.media.storage.impl that implement CacheKey Modifier and Type Class Description static classDefaultLocalMediaFileCacheService.MediaCacheKeyMethods in de.hybris.platform.media.storage.impl with parameters of type CacheKey Modifier and Type Method Description java.lang.ObjectMediaCacheRegion. getWithLoader(CacheKey key, CacheValueLoader loader) -
Uses of CacheKey in de.hybris.platform.outboundservices.cache.impl
Methods in de.hybris.platform.outboundservices.cache.impl that return CacheKey Modifier and Type Method Description protected CacheKeyDestinationRestTemplateCache. internalKey(DestinationRestTemplateCacheKey key)Methods in de.hybris.platform.outboundservices.cache.impl with parameters of type CacheKey Modifier and Type Method Description org.springframework.web.client.RestTemplateRestTemplateCacheValueLoader. load(CacheKey key) -
Uses of CacheKey in de.hybris.platform.persistence.hjmp
Classes in de.hybris.platform.persistence.hjmp that implement CacheKey Modifier and Type Class Description static classFinderResult.FinderResultCacheKey -
Uses of CacheKey in de.hybris.platform.regioncache
Methods in de.hybris.platform.regioncache with parameters of type CacheKey Modifier and Type Method Description protected voidDefaultCacheController. executeOnAfterAddCallbacks(CacheKey key, java.lang.Object value, CacheRegion region)protected voidDefaultCacheController. executeOnAfterRemoveCallbacks(CacheKey key, java.lang.Object value, CacheRegion region)protected voidDefaultCacheController. executeOnEvictionCallbacks(CacheKey key, java.lang.Object value, CacheRegion region)protected voidDefaultCacheController. executeOnMissLoadCallbacks(CacheKey key, java.lang.Object value, CacheRegion region)<T> TCacheController. get(CacheKey key)Gets value stored in the cache.<T> TDefaultCacheController. get(CacheKey key)<T> TCacheController. getWithLoader(CacheKey key, CacheValueLoader<T> loader)Gets stored value from cache.<T> TDefaultCacheController. getWithLoader(CacheKey key, CacheValueLoader<T> loader)Gets stored value from cache.voidCacheController. invalidate(CacheKey key)Performs key invalidation from cache.voidDefaultCacheController. invalidate(CacheKey key)Performs key invalidation from cache.VCacheValueLoader. load(CacheKey key)Used by cache region to load missing value.
This method does not have to be thread safe.
If CacheValueLoadException thrown unit is not added to cache.voidCacheLifecycleCallback. onAfterAdd(CacheKey key, java.lang.Object value, CacheRegion region)Executes after an object has been added to the cache.voidCacheLifecycleCallback. onAfterEviction(CacheKey key, java.lang.Object value, CacheRegion region)Executes after an object has been evicted from the cache.voidCacheLifecycleCallback. onAfterRemove(CacheKey key, java.lang.Object value, CacheRegion region)Executes after an object has been removed from the cache.voidCacheLifecycleCallback. onMissLoad(CacheKey key, java.lang.Object value, CacheRegion lruCacheRegion)Executes after an object has been loaded but not added to the cache.voidCacheController. remove(CacheKey key)Removes keyvoidDefaultCacheController. remove(CacheKey key)Legacy method implemented just to implement lazy computing in AbstractCacheUnitstatic CacheRegionCacheTestHelper. resolveCacheRegion(DefaultCacheController controller, CacheKey key)static CacheRegionCacheTestHelper. resolveCacheRegion(CacheKey key, boolean forInvalidation, DefaultCacheController controller)static CacheRegionCacheTestHelper. resolveCacheRegion(CacheKey key, DefaultCacheController controller)CacheRegionDefaultCacheController. resolveCacheRegionForAdd(CacheKey key)Method used to resolve cache region.java.util.Collection<CacheRegion>DefaultCacheController. resolveQueryRegionsForInvalidation(CacheKey key)returns all regions handling queries.java.util.List<CacheRegion>DefaultCacheController. resolveRegionsForInvalidation(CacheKey key)Returns cache regions for invalidation. -
Uses of CacheKey in de.hybris.platform.regioncache.invalidation
Methods in de.hybris.platform.regioncache.invalidation with parameters of type CacheKey Modifier and Type Method Description booleanCacheUnitTTLInvalidationFilter. allowInvalidation(CacheKey key, CacheRegion region)Deprecated.booleanInvalidationFilter. allowInvalidation(CacheKey key, CacheRegion region)do disallow invalidation should return false; -
Uses of CacheKey in de.hybris.platform.regioncache.key
Subinterfaces of CacheKey in de.hybris.platform.regioncache.key Modifier and Type Interface Description interfaceRegistrableCacheKey<T>Classes in de.hybris.platform.regioncache.key that implement CacheKey Modifier and Type Class Description classAbstractCacheKeyAbstract class used as a base class for regioncache keys.
CacheKey can mark associated value as serializable or nor (CacheUnitType).classAbstractRegistrableCacheKeyAll units using cache registry (currently flexible search) should use this class to define cache key.
This is used by CacheController to decide whether using cache registry or not. -
Uses of CacheKey in de.hybris.platform.regioncache.key.impl
Methods in de.hybris.platform.regioncache.key.impl that return CacheKey Modifier and Type Method Description CacheKeyGenerationalCacheDelegate. getGenerationalCacheKey(CacheKey key)Methods in de.hybris.platform.regioncache.key.impl with parameters of type CacheKey Modifier and Type Method Description CacheKeyGenerationalCacheDelegate. getGenerationalCacheKey(CacheKey key)voidGenerationalCacheDelegate. incrementGeneration(CacheKey key) -
Uses of CacheKey in de.hybris.platform.regioncache.key.legacy
Classes in de.hybris.platform.regioncache.key.legacy that implement CacheKey Modifier and Type Class Description classAbstractLegacyRegistrableCacheKey<T>Registrable legacy key abstraction for region cacheclassAbstractRegioncacheRegistrableUnitDeprecated.since 5.0 not usedclassAbstractRegioncacheUnitDeprecated.since 5.0 this was used as utility class , favor now LegacyCacheKeyTypeUtilclassLegacyCacheKeyClass wraps old fashion Object[] key to meaningful structure.
This class does not handle FlexibleSearch multi-keys: [ [ ...Fields in de.hybris.platform.regioncache.key.legacy declared as CacheKey Modifier and Type Field Description protected CacheKeyAbstractRegioncacheUnit. cacheKeyDeprecated.Methods in de.hybris.platform.regioncache.key.legacy that return CacheKey Modifier and Type Method Description CacheKeyAbstractRegioncacheUnit. getKey()Deprecated.CacheKey interface implementationMethods in de.hybris.platform.regioncache.key.legacy with parameters of type CacheKey Modifier and Type Method Description java.lang.ObjectAbstractRegioncacheUnit. load(CacheKey key)Deprecated.We do not perform compute not to hit database several times from different threads.
Another reason is to keep lifecycle of hooks in the same order. -
Uses of CacheKey in de.hybris.platform.regioncache.region
Methods in de.hybris.platform.regioncache.region that return types with arguments of type CacheKey Modifier and Type Method Description java.util.Collection<CacheKey>CacheMap. getAllKeys()Returns all keys currently stored in this map.java.util.Collection<CacheKey>CacheRegion. getAllKeys()Returns all keys currently stored in this region.Methods in de.hybris.platform.regioncache.region with parameters of type CacheKey Modifier and Type Method Description booleanCacheMap. contains(CacheKey key)Checks if map contains value for key specified.booleanCacheRegion. containsKey(CacheKey key)Checks if key is in the cache map.voidEvictionCallback. evicted(CacheKey key, java.lang.Object value)Informs watcher that given key is evicted from the cache.java.lang.ObjectCacheMap. get(CacheKey key)Gets value associated with the key.java.lang.ObjectCacheRegion. get(CacheKey key)Gets value from the cache.java.lang.ObjectCacheRegion. getWithLoader(CacheKey key, CacheValueLoader loader)Gets value from cache.java.lang.ObjectCacheRegion. invalidate(CacheKey key, boolean fireEventsEvenIfNotRemoved)Invalidates (removes) value from cache map.java.lang.ObjectCacheMap. put(CacheKey key, java.lang.Object value)Puts new value into the map.java.lang.ObjectCacheMap. remove(CacheKey key)Removes value from the map.java.lang.ObjectCacheRegion. remove(CacheKey key, boolean fireEvents)Removes value stored on the key specified.CacheRegionCacheRegionResolver. resolveForGet(CacheKey key)CacheRegionDefaultCacheRegionResolver. resolveForGet(CacheKey key)CacheRegionSingleCacheRegionResolver. resolveForGet(CacheKey key)java.util.List<CacheRegion>CacheRegionResolver. resolveForInvalidation(CacheKey key)Returns regions for direct invalidationjava.util.List<CacheRegion>DefaultCacheRegionResolver. resolveForInvalidation(CacheKey key)java.util.List<CacheRegion>SingleCacheRegionResolver. resolveForInvalidation(CacheKey key)java.util.List<CacheRegion>CacheRegionResolver. resolveQueryRegions(CacheKey key)Returns regions for indirect invalidationjava.util.List<CacheRegion>DefaultCacheRegionResolver. resolveQueryRegions(CacheKey key)java.util.List<CacheRegion>SingleCacheRegionResolver. resolveQueryRegions(CacheKey key) -
Uses of CacheKey in de.hybris.platform.regioncache.region.impl
Fields in de.hybris.platform.regioncache.region.impl with type parameters of type CacheKey Modifier and Type Field Description protected java.util.Map<CacheKey,java.lang.Object>AbstractMapBasedCacheRegion. cacheMapprotected java.util.Map<CacheKey,java.lang.Object>DefaultCacheMap. mapMethods in de.hybris.platform.regioncache.region.impl that return types with arguments of type CacheKey Modifier and Type Method Description java.util.Collection<CacheKey>AbstractMapBasedCacheRegion. getAllKeys()java.util.Collection<CacheKey>DefaultCacheMap. getAllKeys()java.util.Collection<CacheKey>DefaultCacheRegion. getAllKeys()java.util.Collection<CacheKey>EHCacheRegion. getAllKeys()Methods in de.hybris.platform.regioncache.region.impl with parameters of type CacheKey Modifier and Type Method Description booleanDefaultCacheMap. contains(CacheKey key)booleanAbstractMapBasedCacheRegion. containsKey(CacheKey key)booleanDefaultCacheRegion. containsKey(CacheKey key)booleanEHCacheRegion. containsKey(CacheKey key)java.lang.ObjectAbstractMapBasedCacheRegion. get(CacheKey key)java.lang.ObjectDefaultCacheMap. get(CacheKey key)java.lang.ObjectDefaultCacheRegion. get(CacheKey key)java.lang.ObjectEHCacheRegion. get(CacheKey key)java.lang.ObjectAbstractMapBasedCacheRegion. getWithLoader(CacheKey key, CacheValueLoader loader)java.lang.ObjectDefaultCacheRegion. getWithLoader(CacheKey key, CacheValueLoader loader)java.lang.ObjectEHCacheRegion. getWithLoader(CacheKey key, CacheValueLoader loader)java.lang.ObjectAbstractMapBasedCacheRegion. invalidate(CacheKey key, boolean fireEventsEvenIfNotRemoved)java.lang.ObjectDefaultCacheRegion. invalidate(CacheKey key, boolean fireEventsEvenIfNotRemoved)java.lang.ObjectEHCacheRegion. invalidate(CacheKey key, boolean fireEventsEvenIfNotRemoved)java.lang.ObjectDefaultCacheMap. put(CacheKey key, java.lang.Object value)protected abstract java.lang.ObjectAbstractMapBasedCacheRegion. putIfAbsent(CacheKey key, java.lang.Object value)protected java.lang.ObjectLRUCacheRegion. putIfAbsent(CacheKey key, java.lang.Object value)protected java.lang.ObjectUnlimitedCacheRegion. putIfAbsent(CacheKey key, java.lang.Object value)java.lang.ObjectAbstractMapBasedCacheRegion. remove(CacheKey key, boolean fireEvents)java.lang.ObjectDefaultCacheMap. remove(CacheKey key)java.lang.ObjectDefaultCacheRegion. remove(CacheKey key, boolean fireEvents)java.lang.ObjectEHCacheRegion. remove(CacheKey key, boolean fireEvents)Method parameters in de.hybris.platform.regioncache.region.impl with type arguments of type CacheKey Modifier and Type Method Description protected voidDefaultCacheMap. entryRemoved(java.util.Map.Entry<CacheKey,java.lang.Object> eldest) -
Uses of CacheKey in de.hybris.platform.regioncache.test
Classes in de.hybris.platform.regioncache.test that implement CacheKey Modifier and Type Class Description classTestCacheKeystatic classTestCacheKeyFactory.TestLegacyCacheKeyWithLoaderclassTestLoadableRegistrableCacheTestKeyclassTestRegistrableCacheKeyMethods in de.hybris.platform.regioncache.test with parameters of type CacheKey Modifier and Type Method Description java.lang.ObjectTestCacheKeyFactory.TestLegacyCacheKeyWithLoader. load(CacheKey key)java.lang.ObjectTestCacheValueLoader. load(CacheKey key)java.lang.ObjectTestLoadableRegistrableCacheTestKey. load(CacheKey key) -
Uses of CacheKey in de.hybris.platform.sap.core.bol.cache
Classes in de.hybris.platform.sap.core.bol.cache that implement CacheKey Modifier and Type Class Description classGenericCacheKeyTheGenericCacheKeyprovides an easy way to handle cache keys, which consist of a list of objects. -
Uses of CacheKey in de.hybris.platform.sap.core.jco.connection.impl
Classes in de.hybris.platform.sap.core.jco.connection.impl that implement CacheKey Modifier and Type Class Description classJCoManagedFunctionCacheKeyTheJCoManagedFunctionCacheKeyis a simple implemantation of theCacheKeyand is used within JCoManagedFunctionCache.Methods in de.hybris.platform.sap.core.jco.connection.impl with parameters of type CacheKey Modifier and Type Method Description com.sap.conn.jco.JCoFunctionJCoFunctionLoader. load(CacheKey cacheKey)This method is used to return aJCO.Functionto the cache. -
Uses of CacheKey in de.hybris.platform.sap.productconfig.runtime.cps.cache.impl
Methods in de.hybris.platform.sap.productconfig.runtime.cps.cache.impl with parameters of type CacheKey Modifier and Type Method Description CPSMasterDataKnowledgeBaseContainerKnowledgeBaseContainerCacheValueLoader. load(CacheKey paramCacheKey)java.util.List<CPSMasterDataKBHeaderInfo>KnowledgeBaseHeadersCacheValueLoader. load(CacheKey paramCacheKey) -
Uses of CacheKey in de.hybris.platform.sap.productconfig.runtime.interf.cache.impl
Classes in de.hybris.platform.sap.productconfig.runtime.interf.cache.impl with type parameters of type CacheKey Modifier and Type Class Description classProductConfigurationEHCacheAccessImpl<K extends CacheKey,V>Classes in de.hybris.platform.sap.productconfig.runtime.interf.cache.impl that implement CacheKey Modifier and Type Class Description classProductConfigurationCacheKeyDefault implementation for a cache key in sap productconfig The field keys contains the additional cache keys.classProductConfigurationEHCacheAccessImplTest.StringCacheKey -
Uses of CacheKey in de.hybris.platform.scripting.engine.impl
Methods in de.hybris.platform.scripting.engine.impl with parameters of type CacheKey Modifier and Type Method Description ScriptExecutablesCacheService.ScriptDTODefaultScriptingLanguagesService.URIScriptExecutableLoader. load(CacheKey key) -
Uses of CacheKey in de.hybris.platform.scripting.engine.internal.cache
Methods in de.hybris.platform.scripting.engine.internal.cache with parameters of type CacheKey Modifier and Type Method Description voidScriptExecutablesCacheService. invalidate(CacheKey cacheKey)ScriptExecutablesCacheService.ScriptDTOScriptExecutablesCacheService. putOrGetFromCache(CacheKey cacheKey, CacheValueLoader loader) -
Uses of CacheKey in de.hybris.platform.scripting.engine.internal.cache.impl
Classes in de.hybris.platform.scripting.engine.internal.cache.impl that implement CacheKey Modifier and Type Class Description classModelScriptCacheKeyclassSimpleScriptCacheKeyMethods in de.hybris.platform.scripting.engine.internal.cache.impl with parameters of type CacheKey Modifier and Type Method Description voidDefaultScriptExecutableCacheService. invalidate(CacheKey cacheKey)ScriptExecutablesCacheService.ScriptDTODefaultScriptExecutableCacheService. putOrGetFromCache(CacheKey cacheKey, CacheValueLoader loader) -
Uses of CacheKey in de.hybris.platform.scripting.engine.repository
Methods in de.hybris.platform.scripting.engine.repository that return CacheKey Modifier and Type Method Description CacheKeyCacheableScriptsRepository. createCacheKey(java.lang.String protocol, java.lang.String path)Creates cache key based on given protocol and script path.Methods in de.hybris.platform.scripting.engine.repository with parameters of type CacheKey Modifier and Type Method Description ScriptContentCacheableScriptsRepository. lookupScript(CacheKey cacheKey)Lookup for ScriptContent based on the information provided by the CacheKey object. -
Uses of CacheKey in de.hybris.platform.scripting.engine.repository.impl
Methods in de.hybris.platform.scripting.engine.repository.impl that return CacheKey Modifier and Type Method Description CacheKeyClasspathScriptsRepository. createCacheKey(java.lang.String protocol, java.lang.String path)CacheKeyModelScriptsRepository. createCacheKey(java.lang.String protocol, java.lang.String path)Methods in de.hybris.platform.scripting.engine.repository.impl with parameters of type CacheKey Modifier and Type Method Description ScriptContentClasspathScriptsRepository. lookupScript(CacheKey cacheKey)ScriptContentModelScriptsRepository. lookupScript(CacheKey cacheKey) -
Uses of CacheKey in de.hybris.platform.solrfacetsearch.config.cache.impl
Classes in de.hybris.platform.solrfacetsearch.config.cache.impl that implement CacheKey Modifier and Type Class Description classFacetSearchConfigCacheKeyMethods in de.hybris.platform.solrfacetsearch.config.cache.impl that return types with arguments of type CacheKey Modifier and Type Method Description java.util.List<CacheKey>FacetSearchConfigCacheRegion. findCachedObjectKeys(java.lang.String configName, java.lang.String tenantId)Method return list of the key for given config name and tenantIdMethods in de.hybris.platform.solrfacetsearch.config.cache.impl with parameters of type CacheKey Modifier and Type Method Description FacetSearchConfigDefaultFacetSearchConfigCacheValueLoader. load(CacheKey key)
-