hangc0276 opened a new pull request #3068:
URL: https://github.com/apache/bookkeeper/pull/3068


   ### Motivation
   We provide some concurrent maps and sets for specific usage, and provide 
size() and capacity() interface for user to get the real item number and the 
max item number. 
   
   However, if user want to monitor how much memory those current maps and set 
allocated, there is not interface to expose this metric.
   
   ### Changes
   Add `sizeInBytes()` interface to expose the memory size has been allocated 
for those concurrent maps and sets.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@bookkeeper.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to