T
- @Component public class CdmServiceCacher extends eu.etaxonomy.cdm.api.cache.CdmCacher implements ICdmEntitySessionManagerObserver
Constructor and Description |
---|
CdmServiceCacher() |
Modifier and Type | Method and Description |
---|---|
void |
changed() |
protected eu.etaxonomy.cdm.model.common.CdmBase |
findByUuid(java.util.UUID uuid) |
eu.etaxonomy.cdm.cache.CdmTransientEntityCacher |
getCurrentCacher() |
protected net.sf.ehcache.config.CacheConfiguration |
getDefaultCacheConfiguration() |
eu.etaxonomy.cdm.model.common.CdmBase |
getFromCache(eu.etaxonomy.cdm.model.common.CdmBase cdmBase) |
boolean |
isCachable(eu.etaxonomy.cdm.model.common.CdmBase cdmEntity) |
eu.etaxonomy.cdm.model.common.CdmBase |
load(eu.etaxonomy.cdm.model.common.CdmBase cdmEntity) |
void |
setCdmEntitySessionManager(ICdmEntitySessionManager cdmEntitySessionManager) |
protected void |
setup() |
protected void setup()
setup
in class eu.etaxonomy.cdm.api.cache.CdmCacher
protected net.sf.ehcache.config.CacheConfiguration getDefaultCacheConfiguration()
getDefaultCacheConfiguration
in class eu.etaxonomy.cdm.api.cache.CdmCacher
protected eu.etaxonomy.cdm.model.common.CdmBase findByUuid(java.util.UUID uuid)
findByUuid
in class eu.etaxonomy.cdm.api.cache.CdmCacher
public boolean isCachable(eu.etaxonomy.cdm.model.common.CdmBase cdmEntity)
isCachable
in interface eu.etaxonomy.cdm.model.ICdmCacher
public void setCdmEntitySessionManager(ICdmEntitySessionManager cdmEntitySessionManager)
public eu.etaxonomy.cdm.cache.CdmTransientEntityCacher getCurrentCacher()
public eu.etaxonomy.cdm.model.common.CdmBase getFromCache(eu.etaxonomy.cdm.model.common.CdmBase cdmBase)
getFromCache
in interface eu.etaxonomy.cdm.model.ICdmCacher
getFromCache
in class eu.etaxonomy.cdm.api.cache.CdmCacher
public eu.etaxonomy.cdm.model.common.CdmBase load(eu.etaxonomy.cdm.model.common.CdmBase cdmEntity)
load
in interface eu.etaxonomy.cdm.model.ICdmCacher
load
in class eu.etaxonomy.cdm.api.cache.CdmCacher
public void changed()
changed
in interface ICdmEntitySessionManagerObserver
Copyright © 2007-2018. All Rights Reserved.