[jira] [Created] (IGNITE-3624) Provide API to get the size of the cache in bytes

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-3624) Provide API to get the size of the cache in bytes

Anton Vinogradov (Jira)
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)