Revision 71f697d9
Added by Andreas Müller over 3 years ago
eu.etaxonomy.taxeditor.cdmlib/src/main/java/eu/etaxonomy/cdm/api/cache/CdmServiceCacher.java | ||
---|---|---|
34 | 34 |
* @author cmathew |
35 | 35 |
*/ |
36 | 36 |
@Component //FIXME This indicates that the CdmServiceCacher is initialized as Spring Component but it seems only to be instantiated directly |
37 |
public class CdmServiceCacher extends CdmCacher implements ICdmEntitySessionManagerObserver { |
|
37 |
public class CdmServiceCacher extends CdmCacherBase implements ICdmEntitySessionManagerObserver {
|
|
38 | 38 |
|
39 | 39 |
private ICdmEntitySessionManager cdmEntitySessionManager; |
40 | 40 |
|
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/sessions/SessionsViewPart.java | ||
---|---|---|
32 | 32 |
import org.eclipse.swt.widgets.Text; |
33 | 33 |
import org.eclipse.wb.swt.SWTResourceManager; |
34 | 34 |
|
35 |
import eu.etaxonomy.cdm.api.cache.CdmCacher; |
|
35 |
import eu.etaxonomy.cdm.api.cache.CdmCacherBase;
|
|
36 | 36 |
import eu.etaxonomy.cdm.cache.CdmRemoteCacheManager; |
37 | 37 |
import eu.etaxonomy.taxeditor.session.ICdmEntitySession; |
38 | 38 |
import eu.etaxonomy.taxeditor.session.ICdmEntitySessionManager; |
... | ... | |
282 | 282 |
int cdmEnityCacheSize = CacheManager.create().getCacheNames().length; |
283 | 283 |
txtNoOfCaches.setText(String.valueOf(cdmEnityCacheSize)); |
284 | 284 |
|
285 |
Cache defaultCache = CacheManager.create().getCache(CdmCacher.DEFAULT_CACHE_NAME); |
|
285 |
Cache defaultCache = CacheManager.create().getCache(CdmCacherBase.DEFAULT_CACHE_NAME);
|
|
286 | 286 |
txtDefaultInMemory.setText(""); |
287 | 287 |
txtDefaultOnDisk.setText(""); |
288 | 288 |
if(defaultCache != null) { |
Also available in: Unified diff
rename CdmCacher to CdmCacherBase