You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Valentin Kulichenko (JIRA)" <ji...@apache.org> on 2016/08/03 18:03:20 UTC
[jira] [Created] (IGNITE-3624) Provide API to get the size of the
cache in bytes
Valentin Kulichenko created IGNITE-3624:
-------------------------------------------
Summary: Provide API to get the size of the cache in bytes
Key: IGNITE-3624
URL: https://issues.apache.org/jira/browse/IGNITE-3624
Project: Ignite
Issue Type: New Feature
Components: cache
Affects Versions: 1.6
Reporter: Valentin Kulichenko
Sometimes it's useful to know how much memory cache objects consume. We can add {{memorySize()}} method to {{CacheMetrics}} and calculate the value in the same way as we do in {{LruEvictionPolicy}}. This works only when cache statistics are enabled.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)