[ 
https://issues.apache.org/jira/browse/HBASE-16736?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15536339#comment-15536339
 ] 

Anoop Sam John commented on HBASE-16736:
----------------------------------------

Ya. 
But few things to consider.  First of all this is not exactly the heap size.  
In case of L2 cache this can be off heap size or even file size.
In case of CombinedCache why to get from L1 cache alone?
In case of L1 cache also, some times there can be victim L2 cache (L2 also 
present with combinedMode = false). Then do we need L2 size also considered?


> Add getter to ResizableBlockCache for max size
> ----------------------------------------------
>
>                 Key: HBASE-16736
>                 URL: https://issues.apache.org/jira/browse/HBASE-16736
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>         Attachments: 16736.v1.txt, 16736.v2.txt
>
>
> Currently ResizableBlockCache only has one method for setting max size.
> As more first level cache type is added, we need the ability to retrieve the 
> max size.
> This issue is to add getter to ResizableBlockCache for retrieving max size.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to