Revision 4b2b6fc7
Added by Andreas Müller almost 4 years ago
cdmlib-cache/src/main/java/eu/etaxonomy/cdm/cache/EntityCacherDebugResult.java | ||
---|---|---|
23 | 23 |
import org.hibernate.proxy.LazyInitializer; |
24 | 24 |
import org.springframework.util.ReflectionUtils; |
25 | 25 |
|
26 |
import eu.etaxonomy.cdm.api.cache.CdmCacher; |
|
26 |
import eu.etaxonomy.cdm.api.cache.CdmCacherBase;
|
|
27 | 27 |
import eu.etaxonomy.cdm.model.common.CdmBase; |
28 | 28 |
import net.sf.ehcache.Cache; |
29 | 29 |
import net.sf.ehcache.CacheManager; |
... | ... | |
212 | 212 |
} |
213 | 213 |
|
214 | 214 |
private String getCachesContainingEntity(CdmBase cdmEntity) { |
215 |
Cache defaultCache = CacheManager.create().getCache(CdmCacher.DEFAULT_CACHE_NAME); |
|
215 |
Cache defaultCache = CacheManager.create().getCache(CdmCacherBase.DEFAULT_CACHE_NAME);
|
|
216 | 216 |
String caches = ""; |
217 | 217 |
Element dce = defaultCache.get(cdmEntity.getUuid()); |
218 | 218 |
if(dce != null && dce.getObjectValue() == cdmEntity) { |
Also available in: Unified diff
rename CdmCacher to CdmCacherBase