Class DbEntityCacheKeyMapping
- java.lang.Object
- 
- org.camunda.bpm.engine.impl.db.entitymanager.cache.DbEntityCacheKeyMapping
 
- 
 public class DbEntityCacheKeyMapping extends Object Provides the keys used byDbEntityCachefor organizing the differentDbEntitytypes. 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 SummaryFields Modifier and Type Field Description protected Map<Class<?>,Class<?>>entityCacheKeys
 - 
Constructor SummaryConstructors Constructor Description DbEntityCacheKeyMapping()
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DbEntityCacheKeyMappingdefaultEntityCacheKeyMapping()static DbEntityCacheKeyMappingemptyMapping()Class<?>getEntityCacheKey(Class<?> entityType)voidregisterEntityCacheKey(Class<?> entityType, Class<?> cacheKey)
 
- 
- 
- 
Method Detail- 
defaultEntityCacheKeyMappingpublic static DbEntityCacheKeyMapping defaultEntityCacheKeyMapping() 
 - 
emptyMappingpublic static DbEntityCacheKeyMapping emptyMapping() 
 
- 
 
-