[
https://issues.apache.org/jira/browse/IGNITE-3508?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pavel Tupitsyn updated IGNITE-3508:
-----------------------------------
Description:
{{ICache}} is essentially a dictionary. Implementing {{IDictionary<K, V>}} will
provide a familiar interface to the users.
However, this may require us to remove {{ICacheEntry}} interface and switch to
{{KeyValuePair}}, since this is what {{IDictionary}} operates on.
{{KeyValuePair}} is also a struct, so this may improve performance in certain
cases.
was:
ICache is essentially a dictionary. Implementing IDictionary<K, V> will provide
a familiar interface to the users.
However, this may require us to remove ICacheEntry interface and switch to
KeyValuePair, since this is what IDictionary operates on. KeyValuePair is also
a struct, so this may improve performance in certain cases.
> .NET: Make ICache implement IDictionary
> ---------------------------------------
>
> Key: IGNITE-3508
> URL: https://issues.apache.org/jira/browse/IGNITE-3508
> Project: Ignite
> Issue Type: Improvement
> Components: platforms
> Reporter: Pavel Tupitsyn
> Priority: Minor
> Labels: .net, breaking-api
> Fix For: 2.0
>
>
> {{ICache}} is essentially a dictionary. Implementing {{IDictionary<K, V>}}
> will provide a familiar interface to the users.
> However, this may require us to remove {{ICacheEntry}} interface and switch
> to {{KeyValuePair}}, since this is what {{IDictionary}} operates on.
> {{KeyValuePair}} is also a struct, so this may improve performance in certain
> cases.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)