[
https://issues.apache.org/jira/browse/IGNITE-29017?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18108395#comment-18108395
]
Ignite TC Bot commented on IGNITE-29017:
----------------------------------------
I prepared a minimal documentation patch for the Java thin client size API:
* docs/_docs/thin-clients/java-thin-client.adoc now points users to
ClientCache.sizeLong(...) and ClientCache.sizeLongAsync(...), and notes that
the int-returning size(...) / sizeAsync(...) methods are deprecated.
*
docs/_docs/code-snippets/java/src/main/java/org/apache/ignite/snippets/JavaThinClient.java
uses sizeLong() in the basic cache operations snippet and includes
sizeLongAsync() in the async API snippet.
Local verification: git diff --check passed, and the current Ignite 2
ClientCache API declares sizeLong(...) and sizeLongAsync(...). I could not
publish the PR from this environment yet: GitHub push to the available fork is
blocked by the current credentials (HTTP 403 over HTTPS and publickey denial
over SSH). Keeping this documentation issue open with Docs Required until the
patch is published and merged.
> [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
>
>
> 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)