Package org.infinispan.loaders.cluster

Examples of org.infinispan.loaders.cluster.ClusterCacheLoaderConfig


   // Temporary method... once cache store configs have been converted, this should go
   public static void adapt(ClassLoader cl, ConfigurationBuilder builder, CacheLoaderConfig clc) {
      CacheLoaderConfigurationBuilder<?, ?> loaderBuilder = null;
      if (clc instanceof ClusterCacheLoaderConfig) {
         ClusterCacheLoaderConfig cclc = (ClusterCacheLoaderConfig) clc;
         ClusterCacheLoaderConfigurationBuilder cclBuilder = builder.loaders().addClusterCacheLoader();
         cclBuilder.remoteCallTimeout(cclc.getRemoteCallTimeout());
         loaderBuilder = cclBuilder;
      } else if (clc instanceof FileCacheStoreConfig) {
         FileCacheStoreConfig csc = (FileCacheStoreConfig) clc;
         FileCacheStoreConfigurationBuilder fcsBuilder = builder.loaders().addFileCacheStore();
View Full Code Here


      return "ClusterCacheLoaderConfiguration [remoteCallTimeout=" + remoteCallTimeout + "]";
   }

   @Override
   public ClusterCacheLoaderConfig adapt() {
      ClusterCacheLoaderConfig config = new ClusterCacheLoaderConfig();
      config.remoteCallTimeout(remoteCallTimeout);
      XmlConfigHelper.setValues(config, properties(), false, true);
      return config;
   }
View Full Code Here

TOP

Related Classes of org.infinispan.loaders.cluster.ClusterCacheLoaderConfig

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.