ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Ozerov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-4475) Simplify async API
Date Thu, 22 Dec 2016 10:24:58 GMT
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

We need to simplify our async API. It is to complex and verbose at the moment:
IgniteCache asyncCache = cache.withAsync();
IgniteFuture fut = asyncCache.future();

*Proposed solution*
1) Deprecate {{IgniteAsyncSupport}} interface.
2) Make async operations more straightforward:
IgniteFuture fut = cache.getAsync(key);

~80 async methods in all public interfaces.

This message was sent by Atlassian JIRA

View raw message