You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Sergey Stronchinskiy (Jira)" <ji...@apache.org> on 2020/10/07 22:31:00 UTC
[jira] [Updated] (IGNITE-7154) .NET: Thin client: Async queries
[ https://issues.apache.org/jira/browse/IGNITE-7154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sergey Stronchinskiy updated IGNITE-7154:
-----------------------------------------
Fix Version/s: 3.0
> .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: Sergey Stronchinskiy
> Priority: Major
> Labels: .NET
> Fix For: 3.0
>
>
> 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
(v8.3.4#803005)