e null but wanted to be careful+ if(th
is.cache
!= null) {+ buf.append(",ElementCountInMemory=").append(this.getElementCountInMemory())+.append(",ElementCountOnDisk=").append(this.getElementCountOnDisk())+.append(",SizeInMemory=").append(this.getSizeInMemory());+ }
I have managed to get the statistics mbean integrated into JBoss but I was disappointed that the individual statistics (Entity, Query, etc.) objects do not have a meaningful toString() which would allow the user to look at the results in the JBoss JMX HttpAdapter. If I submit a patch would you guy