ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Valentin Kulichenko (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-3624) Provide API to get the size of the cache in bytes
Date Wed, 03 Aug 2016 18:03:20 GMT
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)

Mime
View raw message