| Modifier and Type | Method and Description |
|---|---|
CacheKey |
CmsCacheService.getKey(HttpServletRequest request,
AbstractCMSComponentModel component)
Gets the cache key for the current component and request
|
CacheKey |
CmsCacheKeyProvider.getKey(HttpServletRequest request,
C component) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
CmsCacheService.get(CacheKey key)
Gets cache content by key
|
void |
CmsCacheService.put(CacheKey key,
java.lang.String content)
Stores cache content by key
|
| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultCmsCacheKeyProvider.CmsCacheKey |
| Modifier and Type | Method and Description |
|---|---|
CacheKey |
DefaultCmsCacheService.getKey(HttpServletRequest request,
AbstractCMSComponentModel component) |
CacheKey |
DefaultCmsCacheKeyProvider.getKey(HttpServletRequest request,
SimpleCMSComponentModel component) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
DefaultCmsCacheService.get(CacheKey key) |
void |
DefaultCmsCacheService.put(CacheKey key,
java.lang.String content) |
| Modifier and Type | Class and Description |
|---|---|
protected static class |
DefaultAsCacheStrategy.HybrisAsCacheKey |
| Modifier and Type | Field and Description |
|---|---|
protected CacheKey |
AbstractCacheUnit.cacheKey |
| Modifier and Type | Method and Description |
|---|---|
CacheKey |
AbstractCacheUnit.getKey() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
AbstractCacheUnit.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. |
| Modifier and Type | Method and Description |
|---|---|
void |
RegionCacheAdapter.onAfterAdd(CacheKey key,
java.lang.Object value,
CacheRegion region) |
void |
RegionCacheAdapter.onAfterEviction(CacheKey key,
java.lang.Object value,
CacheRegion region) |
void |
RegionCacheAdapter.onAfterRemove(CacheKey key,
java.lang.Object value,
CacheRegion region) |
void |
RegionCacheAdapter.onMissLoad(CacheKey key,
java.lang.Object value,
CacheRegion lruCacheRegion) |
| Modifier and Type | Class and Description |
|---|---|
static class |
JaloTypeCacheUnit.JaloTypeCacheKey |
| Modifier and Type | Class and Description |
|---|---|
static class |
C2LManager.C2LCacheKey |
| Modifier and Type | Class and Description |
|---|---|
static class |
FlexibleSearch.FlexibleSearchCacheKey
Deprecated.
Special case we do not handle AbstractLegacyRegistrableCacheKey because we need to extend it.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultLocalMediaFileCacheService.MediaCacheKey |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
MediaCacheRegion.getWithLoader(CacheKey key,
CacheValueLoader loader) |
| Modifier and Type | Class and Description |
|---|---|
static class |
FinderResult.FinderResultCacheKey |
| Modifier and Type | Method and Description |
|---|---|
protected void |
DefaultCacheController.executeOnAfterAddCallbacks(CacheKey key,
java.lang.Object value,
CacheRegion region) |
protected void |
DefaultCacheController.executeOnAfterRemoveCallbacks(CacheKey key,
java.lang.Object value,
CacheRegion region) |
protected void |
DefaultCacheController.executeOnEvictionCallbacks(CacheKey key,
java.lang.Object value,
CacheRegion region) |
protected void |
DefaultCacheController.executeOnMissLoadCallbacks(CacheKey key,
java.lang.Object value,
CacheRegion region) |
<T> T |
CacheController.get(CacheKey key)
Gets value stored in the cache.
|
<T> T |
DefaultCacheController.get(CacheKey key) |
<T> T |
CacheController.getWithLoader(CacheKey key,
CacheValueLoader<T> loader)
Gets stored value from cache.
|
<T> T |
DefaultCacheController.getWithLoader(CacheKey key,
CacheValueLoader<T> loader)
Gets stored value from cache.
|
void |
CacheController.invalidate(CacheKey key)
Performs key invalidation from cache.
|
void |
DefaultCacheController.invalidate(CacheKey key)
Performs key invalidation from cache.
|
V |
CacheValueLoader.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. |
void |
CacheLifecycleCallback.onAfterAdd(CacheKey key,
java.lang.Object value,
CacheRegion region)
Executes after an object has been added to the cache.
|
void |
CacheLifecycleCallback.onAfterEviction(CacheKey key,
java.lang.Object value,
CacheRegion region)
Executes after an object has been evicted from the cache.
|
void |
CacheLifecycleCallback.onAfterRemove(CacheKey key,
java.lang.Object value,
CacheRegion region)
Executes after an object has been removed from the cache.
|
void |
CacheLifecycleCallback.onMissLoad(CacheKey key,
java.lang.Object value,
CacheRegion lruCacheRegion)
Executes after an object has been loaded but not added to the cache.
|
void |
CacheController.remove(CacheKey key)
Removes key
|
void |
DefaultCacheController.remove(CacheKey key)
Legacy method implemented just to implement lazy computing in AbstractCacheUnit
|
static CacheRegion |
CacheTestHelper.resolveCacheRegion(CacheKey key,
boolean forInvalidation,
DefaultCacheController controller) |
static CacheRegion |
CacheTestHelper.resolveCacheRegion(CacheKey key,
DefaultCacheController controller) |
static CacheRegion |
CacheTestHelper.resolveCacheRegion(DefaultCacheController controller,
CacheKey key) |
CacheRegion |
DefaultCacheController.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.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
InvalidationFilter.allowInvalidation(CacheKey key,
CacheRegion region)
do disallow invalidation should return false;
|
boolean |
CacheUnitTTLInvalidationFilter.allowInvalidation(CacheKey key,
CacheRegion region)
Deprecated.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
RegistrableCacheKey<T> |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractCacheKey
Abstract class used as a base class for regioncache keys.
CacheKey can mark associated value as serializable or nor (CacheUnitType). |
class |
AbstractRegistrableCacheKey
All 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. |
| Modifier and Type | Method and Description |
|---|---|
CacheKey |
GenerationalCacheDelegate.getGenerationalCacheKey(CacheKey key) |
| Modifier and Type | Method and Description |
|---|---|
CacheKey |
GenerationalCacheDelegate.getGenerationalCacheKey(CacheKey key) |
void |
GenerationalCacheDelegate.incrementGeneration(CacheKey key) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractLegacyRegistrableCacheKey<T>
Registrable legacy key abstraction for region cache
|
class |
AbstractRegioncacheRegistrableUnit
Deprecated.
since 5.0 not used
|
class |
AbstractRegioncacheUnit
Deprecated.
since 5.0 this was used as utility class , favor now LegacyCacheKeyTypeUtil
|
class |
LegacyCacheKey
Class wraps old fashion Object[] key to meaningful structure.
This class does not handle FlexibleSearch multi-keys: [ [ ... |
| Modifier and Type | Field and Description |
|---|---|
protected CacheKey |
AbstractRegioncacheUnit.cacheKey
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
CacheKey |
AbstractRegioncacheUnit.getKey()
Deprecated.
CacheKey interface implementation
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
AbstractRegioncacheUnit.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. |
| Modifier and Type | Method and 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.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
CacheMap.contains(CacheKey key)
Checks if map contains value for key specified.
|
boolean |
CacheRegion.containsKey(CacheKey key)
Checks if key is in the cache map.
|
void |
EvictionCallback.evicted(CacheKey key,
java.lang.Object value)
Informs watcher that given key is evicted from the cache.
|
java.lang.Object |
CacheMap.get(CacheKey key)
Gets value associated with the key.
|
java.lang.Object |
CacheRegion.get(CacheKey key)
Gets value from the cache.
|
java.lang.Object |
CacheRegion.getWithLoader(CacheKey key,
CacheValueLoader loader)
Gets value from cache.
|
java.lang.Object |
CacheRegion.invalidate(CacheKey key,
boolean fireEventsEvenIfNotRemoved)
Invalidates (removes) value from cache map.
|
java.lang.Object |
CacheMap.put(CacheKey key,
java.lang.Object value)
Puts new value into the map.
|
java.lang.Object |
CacheMap.remove(CacheKey key)
Removes value from the map.
|
java.lang.Object |
CacheRegion.remove(CacheKey key,
boolean fireEvents)
Removes value stored on the key specified.
|
CacheRegion |
CacheRegionResolver.resolveForGet(CacheKey key) |
CacheRegion |
DefaultCacheRegionResolver.resolveForGet(CacheKey key) |
CacheRegion |
SingleCacheRegionResolver.resolveForGet(CacheKey key) |
java.util.List<CacheRegion> |
CacheRegionResolver.resolveForInvalidation(CacheKey key)
Returns regions for direct invalidation
|
java.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 invalidation
|
java.util.List<CacheRegion> |
DefaultCacheRegionResolver.resolveQueryRegions(CacheKey key) |
java.util.List<CacheRegion> |
SingleCacheRegionResolver.resolveQueryRegions(CacheKey key) |
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Map<CacheKey,java.lang.Object> |
AbstractMapBasedCacheRegion.cacheMap |
protected java.util.Map<CacheKey,java.lang.Object> |
DefaultCacheMap.map |
| Modifier and Type | Method and 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() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
DefaultCacheMap.contains(CacheKey key) |
boolean |
AbstractMapBasedCacheRegion.containsKey(CacheKey key) |
boolean |
DefaultCacheRegion.containsKey(CacheKey key) |
boolean |
EHCacheRegion.containsKey(CacheKey key) |
java.lang.Object |
AbstractMapBasedCacheRegion.get(CacheKey key) |
java.lang.Object |
DefaultCacheMap.get(CacheKey key) |
java.lang.Object |
DefaultCacheRegion.get(CacheKey key) |
java.lang.Object |
EHCacheRegion.get(CacheKey key) |
java.lang.Object |
AbstractMapBasedCacheRegion.getWithLoader(CacheKey key,
CacheValueLoader loader) |
java.lang.Object |
DefaultCacheRegion.getWithLoader(CacheKey key,
CacheValueLoader loader) |
java.lang.Object |
EHCacheRegion.getWithLoader(CacheKey key,
CacheValueLoader loader) |
java.lang.Object |
AbstractMapBasedCacheRegion.invalidate(CacheKey key,
boolean fireEventsEvenIfNotRemoved) |
java.lang.Object |
DefaultCacheRegion.invalidate(CacheKey key,
boolean fireEventsEvenIfNotRemoved) |
java.lang.Object |
EHCacheRegion.invalidate(CacheKey key,
boolean fireEventsEvenIfNotRemoved) |
java.lang.Object |
DefaultCacheMap.put(CacheKey key,
java.lang.Object value) |
protected abstract java.lang.Object |
AbstractMapBasedCacheRegion.putIfAbsent(CacheKey key,
java.lang.Object value) |
protected java.lang.Object |
LRUCacheRegion.putIfAbsent(CacheKey key,
java.lang.Object value) |
protected java.lang.Object |
UnlimitedCacheRegion.putIfAbsent(CacheKey key,
java.lang.Object value) |
java.lang.Object |
DefaultCacheMap.remove(CacheKey key) |
java.lang.Object |
AbstractMapBasedCacheRegion.remove(CacheKey key,
boolean fireEvents) |
java.lang.Object |
DefaultCacheRegion.remove(CacheKey key,
boolean fireEvents) |
java.lang.Object |
EHCacheRegion.remove(CacheKey key,
boolean fireEvents) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
DefaultCacheMap.entryRemoved(java.util.Map.Entry<CacheKey,java.lang.Object> eldest) |
| Modifier and Type | Class and Description |
|---|---|
class |
TestCacheKey |
static class |
TestCacheKeyFactory.TestLegacyCacheKeyWithLoader |
class |
TestLoadableRegistrableCacheTestKey |
class |
TestRegistrableCacheKey |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
TestLoadableRegistrableCacheTestKey.load(CacheKey key) |
java.lang.Object |
TestCacheKeyFactory.TestLegacyCacheKeyWithLoader.load(CacheKey key) |
java.lang.Object |
TestCacheValueLoader.load(CacheKey key) |
| Modifier and Type | Class and Description |
|---|---|
class |
GenericCacheKey
The
GenericCacheKey provides an easy way to handle cache keys, which consist of a list of objects. |
| Modifier and Type | Class and Description |
|---|---|
class |
JCoManagedFunctionCacheKey
The
JCoManagedFunctionCacheKey is a simple implemantation of the CacheKey and is used within JCoManagedFunctionCache. |
| Modifier and Type | Method and Description |
|---|---|
JCoFunction |
JCoFunctionLoader.load(CacheKey cacheKey)
This method is used to return a
JCO.Function to the cache. |
| Modifier and Type | Method and Description |
|---|---|
CPSMasterDataKnowledgeBaseContainer |
KnowledgeBaseContainerCacheValueLoader.load(CacheKey paramCacheKey) |
java.util.List<CPSMasterDataKBHeaderInfo> |
KnowledgeBaseHeadersCacheValueLoader.load(CacheKey paramCacheKey) |
| Modifier and Type | Class and Description |
|---|---|
class |
ProductConfigurationEHCacheAccessImpl<K extends CacheKey,V> |
| Modifier and Type | Class and Description |
|---|---|
class |
ProductConfigurationCacheKey
Default implementation for a cache key in sap productconfig The field keys contains the additional cache keys.
|
class |
ProductConfigurationEHCacheAccessImplTest.StringCacheKey |
| Modifier and Type | Method and Description |
|---|---|
ScriptExecutablesCacheService.ScriptDTO |
DefaultScriptingLanguagesService.URIScriptExecutableLoader.load(CacheKey key) |
| Modifier and Type | Method and Description |
|---|---|
void |
ScriptExecutablesCacheService.invalidate(CacheKey cacheKey) |
ScriptExecutablesCacheService.ScriptDTO |
ScriptExecutablesCacheService.putOrGetFromCache(CacheKey cacheKey,
CacheValueLoader loader) |
| Modifier and Type | Class and Description |
|---|---|
class |
ModelScriptCacheKey |
class |
SimpleScriptCacheKey |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultScriptExecutableCacheService.invalidate(CacheKey cacheKey) |
ScriptExecutablesCacheService.ScriptDTO |
DefaultScriptExecutableCacheService.putOrGetFromCache(CacheKey cacheKey,
CacheValueLoader loader) |
| Modifier and Type | Method and Description |
|---|---|
CacheKey |
CacheableScriptsRepository.createCacheKey(java.lang.String protocol,
java.lang.String path)
Creates cache key based on given protocol and script path.
|
| Modifier and Type | Method and Description |
|---|---|
ScriptContent |
CacheableScriptsRepository.lookupScript(CacheKey cacheKey)
Lookup for ScriptContent based on the information provided by the CacheKey object.
|
| Modifier and Type | Method and Description |
|---|---|
CacheKey |
ClasspathScriptsRepository.createCacheKey(java.lang.String protocol,
java.lang.String path) |
CacheKey |
ModelScriptsRepository.createCacheKey(java.lang.String protocol,
java.lang.String path) |
| Modifier and Type | Method and Description |
|---|---|
ScriptContent |
ClasspathScriptsRepository.lookupScript(CacheKey cacheKey) |
ScriptContent |
ModelScriptsRepository.lookupScript(CacheKey cacheKey) |
| Modifier and Type | Class and Description |
|---|---|
class |
FacetSearchConfigCacheKey |
| Modifier and Type | Method and 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 tenantId
|
| Modifier and Type | Method and Description |
|---|---|
FacetSearchConfig |
DefaultFacetSearchConfigCacheValueLoader.load(CacheKey key) |
Copyright © 2018 SAP SE. All Rights Reserved.