[
https://issues.apache.org/jira/browse/IGNITE-3190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15301918#comment-15301918
]
Denis Magda commented on IGNITE-3190:
-------------------------------------
Vlad, looks good to me.
However, please move all your tests into already existed
{{CacheLocalOffHeapAndSwapMetricsSelfTest}}. You just need to set different
cache mode (OFFHEAP_TIRED) and rename your methods.
> OffHeap cache metrics do not detected get from OffHeap
> ------------------------------------------------------
>
> Key: IGNITE-3190
> URL: https://issues.apache.org/jira/browse/IGNITE-3190
> Project: Ignite
> Issue Type: Bug
> Reporter: Vladislav Pyatkov
> Assignee: Vladislav Pyatkov
>
> Simple configuration cache with OffHeap tiered (statistics must be enabled)
> never increase of get from OffHeap (CacheMetrics#getOffHeapGets always 0)
> {code}
> cache.put(46744, "val 46744");
> cache.get(46744);
> {code}
> {noformat}
> 2016-05-24 14:19:31 INFO ServerNode:78 - Swap put 0 get 0 (0, 0) entries
> count 0
> 2016-05-24 14:19:31 INFO ServerNode:81 - OffHeap put 1 get 0 (0, 0) entries
> count 1
> 2016-05-24 14:19:31 INFO ServerNode:84 - OnHeap put 1 get 1 (1, 0)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)