Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JBoss User Help »

[jboss-user] [JBossCache] - Re: Cache region size

scott.stark@jboss.org

2007-06-13


What I mean by "not necessarily" is that the eviction algorithms do track size. So, your region would have to have some sort of eviction policy. In which case, you can get at the size by doing a

Region.getEvictionPolicy().getEvictionAlgorithm().getEvictionQueue().getNumberOfNodes()



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054091#4054091

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054091
_______________________________________________
jboss-user mailing list
jboss-user@(protected)
https://lists.jboss.org/mailman/listinfo/jboss-user
©2008 junlu.com - Jax Systems, LLC, U.S.A.