[
https://issues.apache.org/jira/browse/IGNITE-6565?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16245582#comment-16245582
]
Alexander Menshikov commented on IGNITE-6565:
---------------------------------------------
Size return number of non-null values, but keySize return number of all keys.
See javadoc of CacheMetricsSnapshot.
> Use long type for size and keySize in cache metrics
> ---------------------------------------------------
>
> Key: IGNITE-6565
> URL: https://issues.apache.org/jira/browse/IGNITE-6565
> Project: Ignite
> Issue Type: Improvement
> Affects Versions: 2.2
> Reporter: Ilya Kasnacheev
>
> Currently it's int so for large caches there's no way to convey correct value.
> Should introduce getSizeLong() and getKeySizeLong()
> Also introduce the same in .Net and make sure that compatibility not broken
> when passing OP_LOCAL_METRICS and OP_GLOBAL_METRICS.
> BTW do we need keySize at all? What's it for?
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)