[
https://issues.jboss.org/browse/ISPN-5167?page=com.atlassian.jira.plugin....
]
William Burns commented on ISPN-5167:
-------------------------------------
Takayoshi, with ISPN 8 we have streams. Internally their API defines .count which returns
a long. Is it sufficient for you to just call cache.keySet().stream().count() to get the
size as a long?
Cache.size() returns cluster-wide entry size in int and overflow
----------------------------------------------------------------
Key: ISPN-5167
URL:
https://issues.jboss.org/browse/ISPN-5167
Project: Infinispan
Issue Type: Feature Request
Components: Core
Affects Versions: 7.0.3.Final
Reporter: Takayoshi Kimura
Assignee: William Burns
We have a large cluster and a cache will have number of entries > Integer.MAX_VALUE in
near future.
It would be great if we have an additional method which returns size in long type.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)