Package com.whirlycott.cache

Examples of com.whirlycott.cache.CacheConfiguration


            return (Map) this.caches.get(cacheName);
        }
       
        try {
            log.debug(cacheName + LOG_MESSAGE_NOT_FOUND_IN_CACHE);
            final CacheConfiguration config = (CacheConfiguration)CacheManager.getConfiguration().get(cacheName);
            final Map map = new WhirlyCacheMap(this.cacheManager.getCache(cacheName), config);
            this.caches.put(cacheName, map);
            return map;
        } catch (CacheException ce) {
            log.error(ce, ce);
View Full Code Here


    public synchronized Map getCache() throws IllegalArgumentException {
        return (Map) this.caches.get(DEFAULT);
    }

    public void afterPropertiesSet() throws Exception {
        final CacheConfiguration config = (CacheConfiguration)CacheManager.getConfiguration().get(DEFAULT);
        this.caches.put(DEFAULT, new WhirlyCacheMap(this.cacheManager.getCache(), config));
    }
View Full Code Here

TOP

Related Classes of com.whirlycott.cache.CacheConfiguration

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.