Package net.sf.ehcache.terracotta

Examples of net.sf.ehcache.terracotta.ClusteredInstanceFactory


     *
     * @param cache the cache the clustered instance factory has to be returned for
     * @return the clustered instance factory
     */
    private ClusteredInstanceFactory getClusteredInstanceFactory(Ehcache cache) {
        ClusteredInstanceFactory clusteredInstanceFactory = terracottaClient.getClusteredInstanceFactory();
        if (null == clusteredInstanceFactory) {
            // adding a cache programmatically when there is no clustered store defined in the configuration
            // at the time this cacheManager was created
            Map<String, CacheConfiguration> map = new HashMap<String, CacheConfiguration>(1);
            map.put(cache.getName(), cache.getCacheConfiguration());
View Full Code Here

TOP

Related Classes of net.sf.ehcache.terracotta.ClusteredInstanceFactory

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.