public class LegacyCacheKey extends AbstractCacheKey
| Modifier and Type | Field and Description |
|---|---|
protected Object[] |
key
We keep legacy key in order to support equals().
|
cachedHash, tenantId, typeCode, valueType| Constructor and Description |
|---|
LegacyCacheKey(Object[] key,
String tenantId) |
LegacyCacheKey(String typeCode,
Object[] key,
String tenantId) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Object[] |
getLegacyKey() |
int |
hashCode()
HashCode has to be the same as in AbstractCacheUnit
|
String |
toString() |
getCacheValueType, getTenantId, getTypeCodeprotected final Object[] key
public Object[] getLegacyKey()
public String toString()
toString in class AbstractCacheKeypublic int hashCode()
hashCode in class AbstractCacheKeypublic boolean equals(Object obj)
equals in class AbstractCacheKeyCopyright © 2017 SAP SE. All Rights Reserved.