I am using berkeley db java edition, i wanna display cache stats by calling CacheStats.toString().
It's working fine, but all the values are zero
I am just using the getting started example, the file ExampleDatabaseRead, I just need to display the cache stats after reading all the entries in the database. So at the end of the method showAllInventory(), i add the above instruction to get the cache stats, but everything is zero.
What does it mean?
Any idea about what is the error??