Package de.hybris.platform.persistence
Class GenericBMPBean.GenericItemEntityStateCacheUnit
java.lang.Object
de.hybris.platform.cache.AbstractCacheUnit
de.hybris.platform.persistence.GenericBMPBean.GenericItemEntityStateCacheUnit
- All Implemented Interfaces:
CacheValueLoader
- Enclosing class:
- GenericBMPBean
-
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 -
Method Summary
Modifier and TypeMethodDescriptioncompute()Object[]de.hybris.platform.persistence.GenericBMPBean.GenericItemEntityStateintReturns the number of elements of the key that are elements of the invalidation topic key.voidhintEntityState(AbstractEntityState newState) Methods inherited from class de.hybris.platform.cache.AbstractCacheUnit
addedToCacheBeforeComputation, equals, executeInvalidation, get, getCache, getKey, getKeyAsArray, getLoader, getTenantID, getWithoutCompute, getWithoutComputeIgnoringTransaction, hashCode, hintValue, invalidate, isCachingSupported, isValueKnown, load, removedFromCache, toString, useCache
-
Constructor Details
-
GenericItemEntityStateCacheUnit
-
-
Method Details
-
createKey
- Specified by:
createKeyin classAbstractCacheUnit
-
getInvalidationTopicDepth
public int getInvalidationTopicDepth()Description copied from class:AbstractCacheUnitReturns the number of elements of the key that are elements of the invalidation topic key. This method must be implemented for all AbstractCacheUnits that are invalidated externally.- Overrides:
getInvalidationTopicDepthin classAbstractCacheUnit
-
getEntityState
public de.hybris.platform.persistence.GenericBMPBean.GenericItemEntityState getEntityState() throws HJMPException- Throws:
HJMPException
-
hintEntityState
-
compute
- Specified by:
computein classAbstractCacheUnit
-