| Modifier and Type | Method and Description |
|---|---|
CacheRegion |
DefaultAsCacheStrategy.getCacheRegion() |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultAsCacheStrategy.setCacheRegion(CacheRegion cacheRegion) |
| 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 | Method and Description |
|---|---|
java.util.List<CacheRegion> |
HacCacheFacade.getCacheRegions() |
| Modifier and Type | Method and Description |
|---|---|
void |
RegionCacheMBeanImpl.setCacheRegion(CacheRegion cacheRegion) |
| Modifier and Type | Class and Description |
|---|---|
class |
MediaCacheRegion |
| Modifier and Type | Method and Description |
|---|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<CacheRegion> |
CacheConfiguration.getRegions()
Returns a list of configured cache regions
|
java.util.Collection<CacheRegion> |
CacheRegionsHolder.getRegions() |
java.util.List<CacheRegion> |
DefaultCacheConfiguration.getRegions() |
java.util.Collection<CacheRegion> |
DefaultCacheRegionsHolder.getRegions() |
java.util.Collection<CacheRegion> |
CacheController.getRegions()
Returns all regions used in this controller.
|
java.util.List<CacheRegion> |
DefaultCacheController.getRegions() |
java.util.Collection<CacheRegion> |
AutoLoadedCacheRegionsHolder.getRegions() |
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 |
|---|---|
void |
CacheController.clearCache(CacheRegion region)
Clears cache
|
void |
DefaultCacheController.clearCache(CacheRegion region)
Clears cache
|
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) |
boolean |
RegionRegistryAllocationStrategy.isRegionRequiresRegistry(CacheRegion region)
Returns true if registry must be allocated for given region.
|
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.
|
static void |
CacheTestHelper.registryEvictionTest(DefaultCacheController controller,
CacheRegion region,
java.lang.String[] typeCodes)
Helper method.
|
| Constructor and Description |
|---|
AutoLoadedCacheRegionsHolder(java.util.Collection<CacheRegion> staticRegions) |
DefaultCacheConfiguration(java.util.List<CacheRegion> regions,
java.util.List<InvalidationFilter> invalidationFilters,
java.util.List<CacheRegionResolver> resolvers) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<CacheRegion> |
CacheStatisticsHelper.getCacheRegions() |
| 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 |
UnlimitedCacheRegion
Any Cache Region which implements this interface will not be counted for overall cache size,
this will not affect on licence check.
|
| Modifier and Type | Field and Description |
|---|---|
protected CacheRegion |
SingleCacheRegionResolver.region |
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<CacheRegion> |
SingleCacheRegionResolver.regionCollection |
| Modifier and Type | Method and Description |
|---|---|
CacheRegion |
CacheRegionProvider.getManualRegion(java.lang.String name)
Returns manual region of name given or NULL.
|
CacheRegion |
CacheRegionRegistrar.getRegion() |
CacheRegion |
CacheRegionProvider.getRegionForAllTypes()
Get single region able to handle all types.
It is necessary to resolve specific type first. |
CacheRegion |
CacheRegionResolver.resolveForGet(CacheKey key) |
CacheRegion |
DefaultCacheRegionResolver.resolveForGet(CacheKey key) |
CacheRegion |
SingleCacheRegionResolver.resolveForGet(CacheKey key) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<CacheRegion> |
CacheRegionProvider.getAllRegions()
Returns immutable collections of ALL regions (manual and regular)
|
java.util.Collection<CacheRegion> |
CacheRegionProvider.getManualRegions()
Returns all manual regions.
|
java.util.List<CacheRegion> |
CacheRegionProvider.getQueryRegions()
returns regions handling __QUERY_CACHE__
|
java.util.List<CacheRegion> |
CacheRegionProvider.getRegionByName(java.lang.String name)
returns singleton collection for region of name given.
|
java.util.List<CacheRegion> |
CacheRegionProvider.getRegions()
Returns all non-manual regions.
|
java.util.List<CacheRegion> |
CacheRegionProvider.getRegionsForType(java.lang.Object typeCode)
returns collection of regions handling type given.
|
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) |
| Constructor and Description |
|---|
CacheRegionRegistrar(CacheRegion region) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractMapBasedCacheRegion
Abstract class for all map based cache region implementations.
|
class |
DefaultCacheRegion
Default cache region implementation.
For the synchronization it uses ReentrantReadWriteLock one for whole cache map. |
class |
EHCacheRegion
Cache region implementation using EHCache.
|
class |
LRUCacheRegion
Cache region implementation based on Google's ConcurrentLinkedHashMap.
|
class |
UnlimitedCacheRegion |
| Modifier and Type | Field and Description |
|---|---|
protected CacheRegion |
DefaultCacheRegionProvider.allTypeRegion |
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<CacheRegion> |
DefaultCacheRegionProvider.allRegions
Internal data
|
protected java.util.Map<java.lang.String,CacheRegion> |
DefaultCacheRegionProvider.manualRegions |
protected java.util.List<CacheRegion> |
DefaultCacheRegionProvider.queryTypeRegions |
protected java.util.Map<java.lang.String,java.util.List<CacheRegion>> |
DefaultCacheRegionProvider.regionsSingletonCollections |
protected java.util.Map<java.lang.String,java.util.List<CacheRegion>> |
DefaultCacheRegionProvider.regionsTypes |
protected java.util.List<CacheRegion> |
DefaultCacheRegionProvider.regularRegions |
| Modifier and Type | Method and Description |
|---|---|
CacheRegion |
DefaultCacheRegionProvider.getManualRegion(java.lang.String name)
Returns manual region of name given or NULL.
|
CacheRegion |
DefaultCacheRegionProvider.getRegionForAllTypes()
Gets collection of regions able to handle all types.
It is necessary to resolve specific type first. |
CacheRegion |
EHCacheRegion.unwrap() |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.Collection<CacheRegion> |
DefaultCacheRegionProvider.createDefaultRegion()
Creates default regions.
|
java.util.List<CacheRegion> |
DefaultCacheRegionProvider.getAllRegions()
Returns immutable collections of ALL regions (manual and regular)
|
java.util.Collection<CacheRegion> |
DefaultCacheRegionProvider.getManualRegions()
Returns all manual regions.
|
java.util.List<CacheRegion> |
DefaultCacheRegionProvider.getQueryRegions()
returns regions handling __QUERY_CACHE__
|
java.util.List<CacheRegion> |
DefaultCacheRegionProvider.getRegionByName(java.lang.String name)
returns singleton collection for region of name given.
|
java.util.List<CacheRegion> |
DefaultCacheRegionProvider.getRegions()
Returns all non-manual regions.
|
java.util.List<CacheRegion> |
DefaultCacheRegionProvider.getRegionsForType(java.lang.Object typeCode)
returns collection of regions handling type given.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
DefaultCacheRegionProvider.isManualRegion(CacheRegion region) |
| Constructor and Description |
|---|
DefaultCacheRegionProvider(java.util.Collection<CacheRegion> cacheRegions) |
| Modifier and Type | Field and Description |
|---|---|
protected CacheRegion |
AbstractCacheControllerOneRegionTest.region |
protected CacheRegion |
MultiThreadedDataValidityTest.region |
| Modifier and Type | Method and Description |
|---|---|
protected DefaultCacheRegionResolver |
DefaultTestRegionResolverTest.createDefaultCacheRegionResolver(java.util.List<CacheRegion> regions) |
| Modifier and Type | Class and Description |
|---|---|
class |
CacheAccessImpl
Standard cache implementation class.
|
| Modifier and Type | Class and Description |
|---|---|
class |
MockCacheAccess |
| Modifier and Type | Class and Description |
|---|---|
class |
ScriptsCacheRegion |
| Modifier and Type | Class and Description |
|---|---|
class |
FacetSearchConfigCacheRegion |
Copyright © 2018 SAP SE. All Rights Reserved.