Project

General

Profile

Revision cbfdc57b

IDcbfdc57bdc7b4a9638c951b844b895e33584407b
Parent 5b44f518
Child afbc0b6b

Added by Andreas Kohlbecker 10 months ago

ref #7742 disposable CdmCachers

View differences:

cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/ICdmCacher.java
61 61
     */
62 62
    public boolean exists(CdmBase cdmBase);
63 63

  
64
    public void dispose();
65

  
64 66
}
cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/cache/CdmCacher.java
101 101
        return defaultCache;
102 102
    }
103 103

  
104
    @Override
105
    public void dispose(){
106
        cacheManager.getCache(DEFAULT_CACHE_NAME).dispose();
107
    }
108

  
104 109
    /**
105 110
     * Gets the cache element corresponding to the given {@link java.util.UUID}
106 111
     *

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)