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 2017/09/20 13:23:00 UTC
[jira] [Commented] (IGNITE-6397) .NET: Thin client: basic cache
operations
[ https://issues.apache.org/jira/browse/IGNITE-6397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16173168#comment-16173168 ]
Pavel Tupitsyn commented on IGNITE-6397:
----------------------------------------
Proposed method set:
{code}
bool ContainsKey(TK key);
bool ContainsKeys(IEnumerable<TK> keys);
bool TryGet(TK key, out TV value);
ICollection<ICacheEntry<TK, TV>> GetAll(IEnumerable<TK> keys);
CacheResult<TV> GetAndPut(TK key, TV val);
CacheResult<TV> GetAndReplace(TK key, TV val);
CacheResult<TV> GetAndRemove(TK key);
bool PutIfAbsent(TK key, TV val);
CacheResult<TV> GetAndPutIfAbsent(TK key, TV val);
bool Replace(TK key, TV val);
bool Replace(TK key, TV oldVal, TV newVal);
void PutAll(IEnumerable<KeyValuePair<TK, TV>> vals);
void Clear();
void Clear(TK key);
void ClearAll(IEnumerable<TK> keys);
bool Remove(TK key);
bool Remove(TK key, TV val);
void RemoveAll(IEnumerable<TK> keys);
void RemoveAll();
int GetSize(params CachePeekMode[] modes);
{code}
> .NET: Thin client: basic cache operations
> -----------------------------------------
>
> Key: IGNITE-6397
> URL: https://issues.apache.org/jira/browse/IGNITE-6397
> Project: Ignite
> Issue Type: Bug
> Components: clients, platforms
> Reporter: Vladimir Ozerov
> Assignee: Pavel Tupitsyn
> Labels: .NET
> Fix For: 2.3
>
>
> We need to implement base cache operations, such as "remove", "replace", "putIfAbsent".
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)