[
https://issues.jboss.org/browse/ISPN-4470?page=com.atlassian.jira.plugin....
]
Martin Gencur commented on ISPN-4470:
-------------------------------------
size() on remote cache does not behave the same way, though. It returns only local cache
size. So this issue is not about JavaDocs but about the (unexpected) difference in
behavior.
cache.keySet().size() returns different value than cache.size() for
HotRod client
---------------------------------------------------------------------------------
Key: ISPN-4470
URL:
https://issues.jboss.org/browse/ISPN-4470
Project: Infinispan
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 6.0.2.Final, 7.0.0.Alpha4
Reporter: Martin Gencur
Assignee: Galder ZamarreƱo
Priority: Critical
Fix For: 7.0.0.Beta1, 7.0.0.Final
cache.keySet().size() returns the number of all keys in the cluster (even a distributed
one) while cache.size() returns just local cache size (this might be different for a
distributed cache)
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)