public static class TestCacheKeyFactory.TestLegacyCacheKeyWithLoader extends LegacyCacheKey implements CacheValueLoader
keycachedHash, tenantId, typeCode, valueType| Constructor and Description |
|---|
TestLegacyCacheKeyWithLoader(java.lang.String typeCode,
java.lang.String tenantId) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
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. |
equals, getLegacyKey, hashCode, toStringgetCacheValueType, getTenantId, getTypeCodepublic TestLegacyCacheKeyWithLoader(java.lang.String typeCode,
java.lang.String tenantId)
public java.lang.Object load(CacheKey key) throws CacheValueLoadException
CacheValueLoaderload in interface CacheValueLoaderCacheValueLoadExceptionCopyright © 2018 SAP SE. All Rights Reserved.