Show / Hide Table of Contents

# Interface IMutableCacheEntry<TK, TV>

Mutable representation of ICacheEntry<TK, TV>

##### Inherited Members

ICacheEntry<TK, TV>.Key
ICacheEntry<TK, TV>.Value

###### Namespace: Apache.Ignite.Core.Cache

###### Assembly: Apache.Ignite.Core.dll

##### Syntax

    public interface IMutableCacheEntry<out TK, TV> : ICacheEntry<TK, TV>

##### Type Parameters

Name | Description
--- | ---
TK | Key type.
TV | Value type.

### Properties

#### Exists

Gets a value indicating whether cache entry exists in cache.

##### Declaration

    bool Exists { get; }

##### Property Value

Type | Description
--- | ---
System.Boolean |

#### Value

Gets, sets or replaces the value associated with the key.

If Exists is false and setter is called then a mapping is added to the cache visible once the EntryProcessor completes.

After setter invocation Exists will return true.

##### Declaration

    TV Value { get; set; }

##### Property Value

Type | Description
--- | ---
TV |

### Methods

#### Remove()

Removes the entry from the Cache.

##### Declaration

    void Remove()