[
https://issues.apache.org/jira/browse/IGNITE-29017?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18108396#comment-18108396
]
Ignite TC Bot commented on IGNITE-29017:
----------------------------------------
A draft documentation PR is now available:
https://github.com/apache/ignite/pull/13520
It updates the Java thin client documentation and snippets to prefer
ClientCache.sizeLong(...) / sizeLongAsync(...) over the deprecated
int-returning size(...) / sizeAsync(...) methods.
> [doc] Document Java thin client long cache size API
> ---------------------------------------------------
>
> Key: IGNITE-29017
> URL: https://issues.apache.org/jira/browse/IGNITE-29017
> Project: Ignite
> Issue Type: Task
> Components: documentation
> Reporter: Ignite TC Bot
> Priority: Major
> Labels: ignite-2
> Fix For: 2.19
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> IGNITE-27816 added Java thin client ClientCache.sizeLong(CachePeekMode...)
> and sizeLongAsync(CachePeekMode...) and deprecated the int-returning
> size(...) / sizeAsync(...) methods.
> The Java thin client documentation currently has a general async API section
> and snippets that still use cache.size(), but it does not mention the
> long-returning API or the deprecation path for caches whose size can exceed
> Integer.MAX_VALUE.
> Please document the Java thin client long cache size API in
> docs/_docs/thin-clients/java-thin-client.adoc and update the JavaThinClient
> snippet to demonstrate sizeLong(). Keep the change minimal and grounded in
> the existing Key-Value / Async API sections.
> Source issue: https://issues.apache.org/jira/browse/IGNITE-27816
> Implementation PR: https://github.com/apache/ignite/pull/12725
> Implementation commit: 5ea0888dcd
--
This message was sent by Atlassian Jira
(v8.20.10#820010)