public abstract class AbstractRegistrableCacheKey extends AbstractCacheKey implements RegistrableCacheKey<String>
cachedHash, tenantId, typeCode, valueType| Constructor and Description |
|---|
AbstractRegistrableCacheKey(String tenantId,
String[] dependentTypes) |
| Modifier and Type | Method and Description |
|---|---|
long[] |
getDependentTypeGenerations()
gets last versions of the corresponding type from
RegistrableCacheKey.getDependentTypes() |
String[] |
getDependentTypes()
All registrable units should define dependent types.
In case of invalidation of one of the dependent type registrable cache unit gets invalidated too. |
Object |
getTypeCode()
Gets code from typesystem.
|
void |
setDependentTypeGenerations(long[] dependentTypeGeneration)
lazily loaded generation
|
String |
toString() |
equals, getCacheValueType, getTenantId, hashCodeclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetCacheValueType, getTenantIdpublic Object getTypeCode()
AbstractCacheKeygetTypeCode in interface CacheKeygetTypeCode in class AbstractCacheKeypublic String toString()
toString in class AbstractCacheKeypublic void setDependentTypeGenerations(long[] dependentTypeGeneration)
RegistrableCacheKeysetDependentTypeGenerations in interface RegistrableCacheKey<String>public long[] getDependentTypeGenerations()
RegistrableCacheKeyRegistrableCacheKey.getDependentTypes()getDependentTypeGenerations in interface RegistrableCacheKey<String>public String[] getDependentTypes()
RegistrableCacheKeygetDependentTypes in interface RegistrableCacheKey<String>Copyright © 2017 SAP SE. All Rights Reserved.