public abstract class AbstractLegacyRegistrableCacheKey<T> extends LegacyCacheKey implements RegistrableCacheKey
keycachedHash, tenantId, typeCode, valueType| Constructor and Description |
|---|
AbstractLegacyRegistrableCacheKey(java.lang.Object[] key,
java.lang.String tenantId) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object object)
This has to be identical as in AbstractCacheUnit
|
long[] |
getDependentTypeGenerations()
gets last versions of the corresponding type from
RegistrableCacheKey.getDependentTypes() |
abstract T[] |
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.
|
int |
hashCode()
This has to be identical as in AbstractCacheUnit
|
void |
setDependentTypeGenerations(long[] dependentTypeGeneration)
lazily loaded generation
|
getLegacyKey, toStringgetCacheValueType, getTenantIdclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetCacheValueType, getTenantIdpublic AbstractLegacyRegistrableCacheKey(java.lang.Object[] key,
java.lang.String tenantId)
public java.lang.Object getTypeCode()
AbstractCacheKeygetTypeCode in interface CacheKeygetTypeCode in class AbstractCacheKeypublic void setDependentTypeGenerations(long[] dependentTypeGeneration)
RegistrableCacheKeysetDependentTypeGenerations in interface RegistrableCacheKeypublic long[] getDependentTypeGenerations()
RegistrableCacheKeyRegistrableCacheKey.getDependentTypes()getDependentTypeGenerations in interface RegistrableCacheKeypublic final int hashCode()
hashCode in class LegacyCacheKeypublic abstract T[] getDependentTypes()
RegistrableCacheKeygetDependentTypes in interface RegistrableCacheKeypublic final boolean equals(java.lang.Object object)
equals in class LegacyCacheKeyCopyright © 2018 SAP SE. All Rights Reserved.