You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Pavel Tupitsyn (JIRA)" <ji...@apache.org> on 2018/03/03 23:05:00 UTC

[jira] [Assigned] (IGNITE-7154) .NET: Thin client: Async queries

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

Pavel Tupitsyn reassigned IGNITE-7154:
--------------------------------------

    Assignee: Pavel Tupitsyn

> .NET: Thin client: Async queries
> --------------------------------
>
>                 Key: IGNITE-7154
>                 URL: https://issues.apache.org/jira/browse/IGNITE-7154
>             Project: Ignite
>          Issue Type: Improvement
>          Components: platforms, thin client
>    Affects Versions: 2.4
>            Reporter: Pavel Tupitsyn
>            Assignee: Pavel Tupitsyn
>            Priority: Major
>              Labels: .NET
>
> IGNITE-7109  adds async cache operations, but query methods remain synchronous.
> We should look for ideas at Entity Framework {{ToListAsync}} and {{ToArrayAsync}} .
> 1. Create {{IAsyncQueryCursor}} and {{IAsyncFieldsQueryCursor}} interfaces:
> {code}
>     public interface IAsyncQueryCursor<T> : IQueryCursor<T>
>     {
>         Task<IList<T>> GetAllAsync();
>     }
> {code} 
> 2. Provide async counterparts for queries: {{Task<IAsyncQueryCursor> ICacheClient.QueryAsync(...)}}
> This way both initial query and data retrieval can be made asynchronous.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)