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

genman do-not-reply at jboss.com
Wed Jun 13 14:15:56 EDT 2007


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



More information about the jboss-user mailing list