Package de.hybris.platform.cache
Class CustomCacheUnit
- java.lang.Object
-
- de.hybris.platform.cache.AbstractCacheUnit
-
- de.hybris.platform.cache.CustomCacheUnit
-
- All Implemented Interfaces:
CacheValueLoader
public abstract class CustomCacheUnit extends AbstractCacheUnit
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.cache.AbstractCacheUnit
cacheKey, INVALIDATIONTYPE_CREATED, INVALIDATIONTYPE_MODIFIED, INVALIDATIONTYPE_MODIFIED_STRING, INVALIDATIONTYPE_REMOVED, INVALIDATIONTYPE_REMOVED_STRING, UNKNOWN
-
-
Constructor Summary
Constructors Constructor Description CustomCacheUnit(Cache cache, java.lang.String key)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract java.lang.Object
compute()
java.lang.Object[]
createKey()
-
Methods inherited from class de.hybris.platform.cache.AbstractCacheUnit
addedToCacheBeforeComputation, equals, executeInvalidation, get, getCache, getInvalidationTopicDepth, getKey, getKeyAsArray, getLoader, getTenantID, getWithoutCompute, getWithoutComputeIgnoringTransaction, hashCode, hintValue, invalidate, isCachingSupported, isValueKnown, load, removedFromCache, toString, useCache
-
-
-
-
Constructor Detail
-
CustomCacheUnit
public CustomCacheUnit(Cache cache, java.lang.String key)
-
-
Method Detail
-
compute
public abstract java.lang.Object compute() throws java.lang.Exception
- Specified by:
compute
in classAbstractCacheUnit
- Throws:
java.lang.Exception
-
createKey
public java.lang.Object[] createKey()
- Specified by:
createKey
in classAbstractCacheUnit
-
-