[jira] [Comment Edited] (IGNITE-4475) Simplify async API
[ https://issues.apache.org/jira/browse/IGNITE-4475?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15934521#comment-15934521 ] Taras Ledkov edited comment on IGNITE-4475 at 3/22/17 3:01 PM: --- Waits [results|http://195.239.208.174/project.html?projectId=IgniteTests&tab=projectOverview&branch_IgniteTests=pull%2F1648%2Fhead] are OK with me. was (Author: tledkov-gridgain): Waits for TC [results|http://195.239.208.174/project.html?projectId=IgniteTests&tab=projectOverview&branch_IgniteTests=pull%2F1648%2Fhead] > 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 >Assignee: Taras Ledkov > 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. > Base branch: {{ignite-4475-async}} -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Comment Edited] (IGNITE-4475) Simplify async API
[ https://issues.apache.org/jira/browse/IGNITE-4475?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15829956#comment-15829956 ] Taras Ledkov edited comment on IGNITE-4475 at 1/19/17 1:48 PM: --- I've changed {{IgniteCompute}}: public API, implementation, examples and add simple tests to Full API suite ({{IgniteComputeBasicConfigVariationsFullApiTestSuite}}). The primary review is required to ensure the way of refactoring . was (Author: tledkov-gridgain): I've changed {{IgniteCompute}} public API, implementation, examples and add simple tests to Full API suite ({{IgniteComputeBasicConfigVariationsFullApiTestSuite}}). The primary review is required to ensure the way of refactoring . > 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 >Assignee: Taras Ledkov > 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)
[jira] [Comment Edited] (IGNITE-4475) Simplify async API
[ https://issues.apache.org/jira/browse/IGNITE-4475?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15829956#comment-15829956 ] Taras Ledkov edited comment on IGNITE-4475 at 1/19/17 1:48 PM: --- I've changed *IgniteCompute*: public API, implementation, examples and add simple tests to Full API suite ({{IgniteComputeBasicConfigVariationsFullApiTestSuite}}). The primary review is required to ensure the way of refactoring . was (Author: tledkov-gridgain): I've changed {{IgniteCompute}}: public API, implementation, examples and add simple tests to Full API suite ({{IgniteComputeBasicConfigVariationsFullApiTestSuite}}). The primary review is required to ensure the way of refactoring . > 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 >Assignee: Taras Ledkov > 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)