ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Ozerov (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (IGNITE-1652) .Net: Rework async APIs (remove WithAsync/GetFuture)
Date Tue, 27 Oct 2015 14:46:27 GMT

     [ https://issues.apache.org/jira/browse/IGNITE-1652?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Vladimir Ozerov closed IGNITE-1652.
-----------------------------------

> .Net: Rework async APIs (remove WithAsync/GetFuture)
> ----------------------------------------------------
>
>                 Key: IGNITE-1652
>                 URL: https://issues.apache.org/jira/browse/IGNITE-1652
>             Project: Ignite
>          Issue Type: Task
>          Components: interop
>    Affects Versions: 1.5
>            Reporter: Pavel  Tupitsyn
>            Assignee: Vladimir Ozerov
>             Fix For: 1.5
>
>
> {code}
> cache.WithAsync().Get();
> IFuture<int> future = cache.GetFuture();
> {code}
> should become
> {code}
> Task<int> task = cache.GetAsync();
> {code}
> Guidelines: https://msdn.microsoft.com/en-us/library/hh873175(v=vs.110).aspx
> First step is .Net-only (remove GetFuture from public API, call it inside *Async methods).
This requires 2 JNI calls.
> Later we should look into making it a single JNI call.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message