[
https://issues.apache.org/jira/browse/CASSANDRA-3050?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13097685#comment-13097685
]
Jonathan Ellis commented on CASSANDRA-3050:
-------------------------------------------
Hmm. I guess we could have the cache provider include a sizeInMemory method?
For serialized off-heap cache we can just use the FreeableMemory size(). For
on-heap cache we can use the serializedSize * liveRatio from the CF's memtable.
> Global row cache
> ----------------
>
> Key: CASSANDRA-3050
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3050
> Project: Cassandra
> Issue Type: Improvement
> Components: Core
> Reporter: Jonathan Ellis
> Assignee: Pavel Yaskevich
> Priority: Minor
> Fix For: 1.1
>
>
> Row-cache-per-columnfamily is difficult to configure well as columnfamilies
> are added, similar to how memtables were difficult pre-CASSANDRA-2006.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira