Package org.jboss.as.clustering.infinispan.subsystem

Examples of org.jboss.as.clustering.infinispan.subsystem.FileCacheStoreConfig.path()


        // Our cache needs a unique passivation location
        for (CacheLoaderConfig loader: groupCache.getConfiguration().getCacheLoaders()) {
            CacheLoaderConfig config = loader.clone();
            if (config instanceof FileCacheStoreConfig) {
                FileCacheStoreConfig fileConfig = (FileCacheStoreConfig) config;
                fileConfig.path(fileConfig.getPath() + File.separatorChar + beanName);
            }
            configuration.fluent().loaders().addCacheLoader(config);
        }
        groupCache.getCacheManager().defineConfiguration(beanName, groupCache.getName(), configuration);
        Cache<MarshalledValue<K, MarshallingContext>, MarshalledValue<E, MarshallingContext>> cache = container.<MarshalledValue<K, MarshallingContext>, MarshalledValue<E, MarshallingContext>>getCache(beanName).getAdvancedCache().with(this.getClass().getClassLoader());
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.