This is an automated email from the ASF dual-hosted git repository.
dspavlov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ignite.git
The following commit(s) were added to refs/heads/master by this push:
new b9d4d94006c IGNITE-29303 Document Java thin client timeouts (#13840)
b9d4d94006c is described below
commit b9d4d94006c233ac3aa5d1046d4378f08fbba8bc
Author: ignitetcbot <[email protected]>
AuthorDate: Mon Nov 16 23:42:43 2026 +0300
IGNITE-29303 Document Java thin client timeouts (#13840)
Documents the separate Java thin-client handshake and request timeouts
introduced by IGNITE-20973
Codex co-authored-by: Dmitriy Pavlov <[email protected]>
---
docs/_docs/thin-clients/java-thin-client.adoc | 2 ++
1 file changed, 2 insertions(+)
diff --git a/docs/_docs/thin-clients/java-thin-client.adoc
b/docs/_docs/thin-clients/java-thin-client.adoc
index a86fa3d4192..275a3549abb 100644
--- a/docs/_docs/thin-clients/java-thin-client.adoc
+++ b/docs/_docs/thin-clients/java-thin-client.adoc
@@ -59,6 +59,8 @@ Alternatively, you can use the `ignite-core-{version}.jar`
library from the Igni
To initialize a thin client, use the
`Ignition.startClient(ClientConfiguration)` method. The method accepts a
`ClientConfiguration` object, which defines client connection parameters.
+Use `ClientConfiguration.setHandshakeTimeout(int)` to configure the time
allowed to establish the client handshake (10 seconds by default), and
`ClientConfiguration.setRequestTimeout(int)` to configure the time allowed for
operation requests (60 seconds by default). A value of `0` means an infinite
timeout. `ClientConfiguration.setTimeout(int)` is deprecated; it sets both
timeouts for backward compatibility.
+
The method returns the `IgniteClient` interface, which provides various
methods for accessing data. `IgniteClient` is an auto-closable resource. Use
the _try-with-resources_ statement to close the thin client and release the
resources associated with the connection.
[source, java]