Interface IMutableEntry
Interface to implement instance of MutableEntry.
Namespace:
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
public interface IMutableEntry
Key
Gets the key of cache entry on which entry proceser has to be executed.
Declaration
string Key { get; }
Property Value
Type | Description |
---|---|
System.String | Returns key. |
Value
Sets/Gets data for relevant key.
Declaration
object Value { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
Exists()
Checks, if the required key for Entry Processor exists in cache or not.
Declaration
bool Exists()
Returns
Type | Description |
---|---|
System.Boolean | Returns true, if key exists or vice versa. |
Remove()
Removes the key from cache after executing the entry processer.
Declaration
void Remove()
UnWrap(Type)
Convert data type of the value.
Declaration
object UnWrap(Type type)
Parameters
Type | Name | Description |
---|---|---|
System.Type | type | New data Type. |
Returns
Type | Description |
---|---|
System.Object | Value with updated datatype. |