Kirill Tkalenko created IGNITE-21006:
----------------------------------------
Summary: Introduction of auxiliary class CompletableFutures
Key: IGNITE-21006
URL: https://issues.apache.org/jira/browse/IGNITE-21006
Project: Ignite
Issue Type: Improvement
Reporter: Kirill Tkalenko
Assignee: Kirill Tkalenko
Fix For: 3.0.0-beta2
To reduce memory consumption when using
*java.util.concurrent.CompletableFuture*, a helper class
*org.apache.ignite.internal.util.CompletableFutures* with helper constants and
methods will be added.
For example, in the project there are many places where
*completedFuture(null)* is used, which can be easily replaced with the constant
*CompletableFutures#NULL_COMPLETED_FUTURE*, since any subsequent execution from
it will be performed immediately and not asynchronously.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)