List of usage examples for org.apache.commons.jcs.engine.control CompositeCacheManager shutDown
public void shutDown()
From source file:org.openstreetmap.josm.data.cache.JCSCacheManager.java
/** * Close all files to ensure, that all indexes and data are properly written *///from w ww . ja v a2s . c om public static void shutdown() { // use volatile semantics to get consistent object CompositeCacheManager localCacheManager = cacheManager; if (localCacheManager != null) { localCacheManager.shutDown(); } }