Class AbstractHydratedCacheManager
java.lang.Object
org.broadleafcommerce.common.cache.engine.AbstractHydratedCacheManager
- All Implemented Interfaces:
Serializable,HydratedAnnotationManager,HydratedCacheManager
- Direct Known Subclasses:
BigMemoryHydratedCacheManagerImpl,EhcacheHydratedCacheManagerImpl
public abstract class AbstractHydratedCacheManager
extends Object
implements HydratedCacheManager, HydratedAnnotationManager
- Author:
- jfischer
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()protected StringcreateHeapKey(String cacheRegion, String cacheName, String elementItemName, Serializable elementKey) protected StringcreateNameKey(String cacheRegion, String cacheName, Serializable elementKey) getHydrationDescriptor(Object entity) protected Class<?>getTopEntityClass(Object entity) protected booleanMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.broadleafcommerce.common.cache.engine.HydratedCacheManager
addHydratedCacheElementItem, getHydratedCacheElementItem
-
Constructor Details
-
AbstractHydratedCacheManager
public AbstractHydratedCacheManager()
-
-
Method Details
-
getHydrationDescriptor
- Specified by:
getHydrationDescriptorin interfaceHydratedAnnotationManager
-
getTopEntityClass
-
createNameKey
-
createHeapKey
protected String createHeapKey(String cacheRegion, String cacheName, String elementItemName, Serializable elementKey) -
useCacheRegionInKey
protected boolean useCacheRegionInKey() -
clone
- Overrides:
clonein classObject- Throws:
CloneNotSupportedException
-