This discussion is archived
1 Reply Latest reply: Sep 14, 2012 8:13 AM by greybird RSS

Cannot display cacheStats

962172 Newbie
Currently Being Moderated

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??
  • 1. Re: Cannot display cacheStats
    greybird Expert
    Currently Being Moderated
    You're in the wrong forum. This is the BDB Java Edition forum. Please re-post your question to the BDB (C-based product) forum:
    Berkeley DB


  • Correct Answers - 10 points
  • Helpful Answers - 5 points