Examples of EvictionPolicyConfig


Examples of org.jboss.cache.config.EvictionPolicyConfig

/* 326 */     this.cache = mbean.getCache();
/*     */
/* 328 */     this.cacheNode = new Fqn(new Object[] { this.ejbContainer.getDeploymentQualifiedName() });
/*     */
/* 331 */     this.region = this.cache.getRegion(this.cacheNode, true);
/* 332 */     EvictionPolicyConfig epc = getEvictionPolicyConfig((int)config.idleTimeoutSeconds(), config.maxSize());
/*     */
/* 334 */     this.region.setEvictionPolicy(epc);
/*     */
/* 337 */     cleanBeanRegion();
/*     */
View Full Code Here

Examples of org.jboss.cache.config.EvictionPolicyConfig

      cacheNode = new Fqn(new Object[] { this.ejbContainer.getDeploymentPropertyListString() });
     
      // Try to create an eviction region per ejb
      region = cache.getRegion(cacheNode, true);
      EvictionPolicyConfig epc = getEvictionPolicyConfig((int) config.idleTimeoutSeconds(),
            config.maxSize());
      region.setEvictionPolicy(epc);

      // JBCACHE-1136.  There's no reason to have state in an inactive region
      cleanBeanRegion();
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.