| 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 |
|---|---|
java.lang.Object |
MediaCacheRegion.getWithLoader(CacheKey key,
CacheValueLoader loader) |
| Modifier and Type | Method and Description |
|---|---|
<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.
|
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. |
static void |
CacheTestHelper.registryEvictionTest(DefaultCacheController controller,
CacheRegion region,
java.lang.String[] typeCodes)
Helper method.
|
| 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.lang.Object |
CacheRegion.getWithLoader(CacheKey key,
CacheValueLoader loader)
Gets value from cache.
|
| Modifier and Type | Method and Description |
|---|---|
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) |
| Modifier and Type | Method and Description |
|---|---|
void |
RegionCachePerformanceTest.allGetsAreHitsTest() |
void |
CacheKeyTest.cacheKeyUniqnessTest() |
void |
EHCacheRegionExclusiveComputationTest.concurrentValueLoadTest()
Tests if: cache loads values
|
void |
OneRegionTestDefaultCacheRegion.concurrentValueLoadTest()
Tests if: cache loads values
|
void |
AbstractCacheControllerOneRegionTest.concurrentValuePutTest()
Tests if: cache stores loaded values
|
void |
CacheKeyTest.differentTenantKey() |
void |
CacheKeyTest.differentTenantLegacyKey() |
void |
AbstractCacheControllerOneRegionTest.evictionTest()
Tests if: cache evicts values [no registry]
|
void |
CacheControllerTwoRegionsTest.evictionTest() |
void |
OneRegionTestDefaultLRUCacheRegion.evictionTest() |
void |
RegionCachePerformanceTest.fillBigEmptyCacheTest() |
void |
RegionCachePerformanceTest.fillMediumEmptyCacheTest() |
void |
CacheControllerQueryCacheDisabledTest.getTest() |
void |
RegionCachePerformanceTest.hitBigNotEmptyCacheTest() |
void |
AbstractCacheControllerOneRegionTest.invalidateKeyTest()
Tests if: invalidation when key inside cache map
|
void |
AbstractCacheControllerOneRegionTest.invalidationTest()
Tests if: invalidation with no key inside.
|
void |
CacheControllerTwoRegionsTest.invalidationTest() |
void |
AbstractCacheControllerOneRegionTest.invalidationTestWithFilter()
Tests if: invalidation with no key inside.
|
void |
CacheKeyTest.legacyCacheKeyUniqnessTest() |
java.lang.Object |
TestLoadableRegistrableCacheTestKey.load(CacheKey key) |
java.lang.Object |
TestCacheKeyFactory.TestLegacyCacheKeyWithLoader.load(CacheKey key) |
java.lang.Object |
TestCacheValueLoader.load(CacheKey key) |
void |
RegionCachePerformanceTest.noGetIsHitTest() |
void |
CacheControllerTwoRegionsTest.simpleGetTest() |
void |
CacheControllerLifecycleCallbackTest.testOnAfterAddDualRegion() |
void |
CacheControllerLifecycleCallbackTest.testOnAfterEvictDualRegion() |
void |
CacheControllerLifecycleCallbackTest.testOnAfterRemoveDualRegion() |
void |
AbstractCacheControllerOneRegionTest.valuePutTest() |
| 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 |
|---|---|
ScriptExecutablesCacheService.ScriptDTO |
DefaultScriptingLanguagesService.URIScriptExecutableLoader.load(CacheKey key) |
Copyright © 2018 SAP SE. All Rights Reserved.