Examples of evictRegionWithTimeToLive()


Examples of org.jboss.cache.util.internals.EvictionController.evictRegionWithTimeToLive()

         assertTrue("Excess children evicted", children.size() <= 25000);
      }

      // Sleep more to let the eviction thread run again,
      // which will evict all data nodes due to their ttl of 4 secs
      ec2.evictRegionWithTimeToLive("/org/jboss/test/data");

      parent = cache2.getRoot().getChild(Fqn.fromString("/org/jboss/test/data"));
      if (parent != null)
      {
         children = parent.getChildren();
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.