Examples of assignToRegion()


Examples of org.jboss.cache.eviction.EvictionAlgorithm.assignToRegion()

         actionPolicy.setCache(regionManager.getCache());

         if (trace) log.trace("Instantiating " + algoConfig.getEvictionAlgorithmClassName());
         EvictionAlgorithm algorithm = (EvictionAlgorithm) Util.getInstance(algoConfig.getEvictionAlgorithmClassName());
         algorithm.setEvictionActionPolicy(actionPolicy);
         algorithm.assignToRegion(fqn, regionManager.getCache(), algoConfig, regionManager.getConfiguration());
         return algorithm;
      }
      catch (Exception e)
      {
         log.fatal("Unable to instantiate eviction algorithm " + algoConfig.getEvictionAlgorithmClassName(), e);
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.