[ 
https://issues.apache.org/jira/browse/IGNITE-3715?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15999696#comment-15999696
 ] 

Wuwei Lin commented on IGNITE-3715:
-----------------------------------

getEntries() should return an empty set if not supported, as documented in 
Hibernate.
Loading all entries from all nodes is too expensive. I think we don't need to 
support this operation.

> Incorrect Hibernate L2 cache statistics
> ---------------------------------------
>
>                 Key: IGNITE-3715
>                 URL: https://issues.apache.org/jira/browse/IGNITE-3715
>             Project: Ignite
>          Issue Type: Sub-task
>          Components: Hibernate L2 cache
>    Affects Versions: 1.7
>            Reporter: Valentin Kulichenko
>            Assignee: Wuwei Lin
>            Priority: Minor
>
> These methods on {{SecondLevelCacheStatistics}} return incorrect data:
> * {{getElementCountInMemory()}} - returns only local node's cache size (zero 
> on client), not the global cache size.
> * {{getEntries()}} - always returns empty map, even if there is data in cache.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to