public abstract class AbstractRegistrableCacheKey extends AbstractCacheKey implements RegistrableCacheKey<java.lang.String>
cachedHash, tenantId, typeCode, valueType| Constructor and Description |
|---|
AbstractRegistrableCacheKey(java.lang.String tenantId,
java.lang.String[] dependentTypes) |
| Modifier and Type | Method and Description |
|---|---|
long[] |
getDependentTypeGenerations()
gets last versions of the corresponding type from
RegistrableCacheKey.getDependentTypes() |
java.lang.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. |
java.lang.Object |
getTypeCode()
Gets code from typesystem.
|
void |
setDependentTypeGenerations(long[] dependentTypeGeneration)
lazily loaded generation
|
java.lang.String |
toString() |
equals, getCacheValueType, getTenantId, hashCodeclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetCacheValueType, getTenantIdpublic AbstractRegistrableCacheKey(java.lang.String tenantId,
java.lang.String[] dependentTypes)
public java.lang.Object getTypeCode()
AbstractCacheKeygetTypeCode in interface CacheKeygetTypeCode in class AbstractCacheKeypublic java.lang.String toString()
toString in class AbstractCacheKeypublic void setDependentTypeGenerations(long[] dependentTypeGeneration)
RegistrableCacheKeysetDependentTypeGenerations in interface RegistrableCacheKey<java.lang.String>public long[] getDependentTypeGenerations()
RegistrableCacheKeyRegistrableCacheKey.getDependentTypes()getDependentTypeGenerations in interface RegistrableCacheKey<java.lang.String>public java.lang.String[] getDependentTypes()
RegistrableCacheKeygetDependentTypes in interface RegistrableCacheKey<java.lang.String>Copyright © 2018 SAP SE. All Rights Reserved.