You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Vladimir Ozerov (JIRA)" <ji...@apache.org> on 2016/12/22 10:24:58 UTC
[jira] [Created] (IGNITE-4475) Simplify async API
Vladimir Ozerov created IGNITE-4475:
---------------------------------------
Summary: Simplify async API
Key: IGNITE-4475
URL: https://issues.apache.org/jira/browse/IGNITE-4475
Project: Ignite
Issue Type: Task
Components: general
Affects Versions: 1.8
Reporter: Vladimir Ozerov
Fix For: 2.0
*Problem*
We need to simplify our async API. It is to complex and verbose at the moment:
{code}
IgniteCache asyncCache = cache.withAsync();
asyncCache.get(key);
IgniteFuture fut = asyncCache.future();
{code}
*Proposed solution*
1) Deprecate {{IgniteAsyncSupport}} interface.
2) Make async operations more straightforward:
{code}
IgniteFuture fut = cache.getAsync(key);
{code}
*Scope*
~80 async methods in all public interfaces.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)