public abstract class CustomCacheUnit extends AbstractCacheUnit
cacheKey, INVALIDATIONTYPE_CREATED, INVALIDATIONTYPE_MODIFIED, INVALIDATIONTYPE_MODIFIED_STRING, INVALIDATIONTYPE_REMOVED, INVALIDATIONTYPE_REMOVED_STRING, UNKNOWN| Constructor and Description |
|---|
CustomCacheUnit(Cache cache,
java.lang.String key) |
| Modifier and Type | Method and Description |
|---|---|
abstract java.lang.Object |
compute() |
java.lang.Object[] |
createKey() |
addedToCacheBeforeComputation, equals, executeInvalidation, get, getCache, getInvalidationTopicDepth, getKey, getKeyAsArray, getLoader, getTenantID, getWithoutCompute, getWithoutComputeIgnoringTransaction, hashCode, hintValue, invalidate, isCachingSupported, isValueKnown, load, removedFromCache, toString, useCachepublic CustomCacheUnit(Cache cache, java.lang.String key)
public abstract java.lang.Object compute()
throws java.lang.Exception
compute in class AbstractCacheUnitjava.lang.Exceptionpublic java.lang.Object[] createKey()
createKey in class AbstractCacheUnitCopyright © 2018 SAP SE. All Rights Reserved.