public class TestLoadableRegistrableCacheTestKey extends AbstractRegistrableCacheKey implements CacheValueLoader
cachedHash, tenantId, typeCode, valueType| Constructor and Description |
|---|
TestLoadableRegistrableCacheTestKey(java.lang.String tenantId,
java.lang.String[] dependentTypes) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
java.lang.Object |
load(CacheKey key)
Used by cache region to load missing value.
This method does not have to be thread safe. If CacheValueLoadException thrown unit is not added to cache. |
java.lang.String |
toString() |
getDependentTypeGenerations, getDependentTypes, getTypeCode, setDependentTypeGenerationsgetCacheValueType, getTenantIdclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetCacheValueType, getTenantIdpublic TestLoadableRegistrableCacheTestKey(java.lang.String tenantId,
java.lang.String[] dependentTypes)
public java.lang.Object load(CacheKey key) throws CacheValueLoadException
CacheValueLoaderload in interface CacheValueLoaderCacheValueLoadExceptionpublic java.lang.String toString()
toString in class AbstractRegistrableCacheKeypublic int hashCode()
hashCode in class AbstractCacheKeypublic boolean equals(java.lang.Object obj)
equals in class AbstractCacheKeyCopyright © 2018 SAP SE. All Rights Reserved.