Class DbEntityCacheKeyMapping
java.lang.Object
org.camunda.bpm.engine.impl.db.entitymanager.cache.DbEntityCacheKeyMapping
Provides the keys used by
DbEntityCache for organizing the different DbEntity types.
Especially for polymorphic types, it is important that they are accessible in the cache under one
common key such that querying the cache with a superclass or with a subclass both return the cached
entities.- Author:
- Thorben Lindhauer
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DbEntityCacheKeyMappingstatic DbEntityCacheKeyMappingClass<?>getEntityCacheKey(Class<?> entityType) voidregisterEntityCacheKey(Class<?> entityType, Class<?> cacheKey)
-
Field Details
-
entityCacheKeys
-
-
Constructor Details
-
DbEntityCacheKeyMapping
public DbEntityCacheKeyMapping()
-
-
Method Details
-
getEntityCacheKey
-
registerEntityCacheKey
-
defaultEntityCacheKeyMapping
-
emptyMapping
-