ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Menshikov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-6565) Use long type for size and keySize in cache metrics
Date Thu, 09 Nov 2017 12:56:00 GMT

    [ 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
> BTW do we need keySize at all? What's it for?

This message was sent by Atlassian JIRA

View raw message