[
https://issues.apache.org/jira/browse/IGNITE-27816?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18108393#comment-18108393
]
Ignite TC Bot commented on IGNITE-27816:
----------------------------------------
Created documentation follow-up IGNITE-29017 for the Java thin client long
cache size API. The implementation added ClientCache.sizeLong(...) and
sizeLongAsync(...) and deprecated size(...) / sizeAsync(...), but the Java thin
client documentation still only shows the int-returning size() usage. I am
marking this source issue with Docs Required while preserving Release Notes
Required until the docs update is merged.
> Java Thin: Implement ClientCache.sizeLong method
> ------------------------------------------------
>
> Key: IGNITE-27816
> URL: https://issues.apache.org/jira/browse/IGNITE-27816
> Project: Ignite
> Issue Type: Improvement
> Reporter: Aleksey Plekhanov
> Assignee: Aleksey Plekhanov
> Priority: Major
> Labels: ise, thin
> Fix For: 2.19
>
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
> Currently we have {{ClientCache.size(...)}} method, which returns {{int}},
> but sometimes cache size can exeed maximum value for {{int}} and {{long}}
> type is required. {{IgniteCache}} class has {{sizeLong}} method which returns
> {{long}}. The same method should be added to {{ClientCache}} (unfortunatelly,
> return type for current method {{size}} can't be modified due to
> compatibility issue).
> Protocol modification is not required, since we already use {{long}} type for
> size response.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)