ptupitsyn commented on a change in pull request #9049:
URL: https://github.com/apache/ignite/pull/9049#discussion_r621527441
##########
File path: docs/_docs/key-value-api/basic-cache-operations.adoc
##########
@@ -245,18 +249,29 @@
include::code-snippets/cpp/src/cache_asynchronous_execution.cpp[tag=cache-asynch
[NOTE]
====
[discrete]
-=== Closures Execution and Thread Pools
+=== Callbacks Execution and Thread Pools
////////////////////////////////////////////////////////////////////////////////
This is java specific
////////////////////////////////////////////////////////////////////////////////
-If an asynchronous operation is completed by the time the closure is passed to
either the `IgniteFuture.listen()` or `IgniteFuture.chain()` method, then the
closure is executed synchronously by the calling thread. Otherwise, the closure
is executed asynchronously when the operation is completed.
+If an asynchronous operation is completed by the time the callback is passed
to either the `IgniteFuture.listen()` or `IgniteFuture.chain()` method, then
the callback is executed synchronously by the calling thread.
+Otherwise, the callback is executed asynchronously when the operation is
completed.
+
+Callbacks for asynchronous compute operations are called by threads from the
/perf-and-troubleshooting/thread-pools-tuning[Ignite public pool].
Review comment:
Replaced `called` with `invoked`
##########
File path: docs/_docs/key-value-api/basic-cache-operations.adoc
##########
@@ -245,18 +249,29 @@
include::code-snippets/cpp/src/cache_asynchronous_execution.cpp[tag=cache-asynch
[NOTE]
====
[discrete]
-=== Closures Execution and Thread Pools
+=== Callbacks Execution and Thread Pools
////////////////////////////////////////////////////////////////////////////////
This is java specific
////////////////////////////////////////////////////////////////////////////////
-If an asynchronous operation is completed by the time the closure is passed to
either the `IgniteFuture.listen()` or `IgniteFuture.chain()` method, then the
closure is executed synchronously by the calling thread. Otherwise, the closure
is executed asynchronously when the operation is completed.
+If an asynchronous operation is completed by the time the callback is passed
to either the `IgniteFuture.listen()` or `IgniteFuture.chain()` method, then
the callback is executed synchronously by the calling thread.
+Otherwise, the callback is executed asynchronously when the operation is
completed.
+
+Callbacks for asynchronous compute operations are called by threads from the
/perf-and-troubleshooting/thread-pools-tuning[Ignite public pool].
Review comment:
Good point, replaced `called` with `invoked`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]