@Deprecated public abstract class AbstractRegioncacheUnit extends Object implements CacheKey, CacheValueLoader
| Modifier and Type | Field and Description |
|---|---|
protected CacheKey |
cacheKey
Deprecated.
|
protected Object |
typeCode
Deprecated.
Each key has value and type.
|
| Constructor and Description |
|---|
AbstractRegioncacheUnit()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
addedToCacheBeforeComputation()
Deprecated.
|
static Object |
calculateKeyCode(Object[] key)
Deprecated.
|
CacheUnitValueType |
getCacheValueType()
Deprecated.
gets value type.
|
CacheKey |
getKey()
Deprecated.
CacheKey interface implementation
|
abstract Object[] |
getKeyAsArray()
Deprecated.
AbstractCacheUnit methods
|
CacheValueLoader |
getLoader()
Deprecated.
|
String |
getTenantId()
Deprecated.
Gets tenant
|
abstract String |
getTenantID()
Deprecated.
|
Object |
getTypeCode()
Deprecated.
Gets code from typesystem.
|
Object |
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. |
String |
toString()
Deprecated.
|
protected Object typeCode
protected CacheKey cacheKey
public abstract Object[] getKeyAsArray()
public abstract void addedToCacheBeforeComputation()
public abstract String getTenantID()
public final Object load(CacheKey key) throws CacheValueLoadException
load in interface CacheValueLoaderCacheValueLoadExceptionpublic final CacheValueLoader getLoader()
public final CacheKey getKey()
public final String getTenantId()
CacheKeygetTenantId in interface CacheKeypublic Object getTypeCode()
getTypeCode in interface CacheKeypublic final CacheUnitValueType getCacheValueType()
CacheKeygetCacheValueType in interface CacheKeyCopyright © 2017 SAP SE. All Rights Reserved.