Apache Ignite.NET
Apache.Ignite.Core.Cache.ICacheEntryProcessor< in in TK, TV, in in TArg, out out TRes > Interface Template Reference

An invocable function that allows applications to perform compound operations on a cache entry atomically, according the defined consistency of a cache. More...

Public Member Functions

TRes Process (IMutableCacheEntry< TK, TV > entry, TArg arg)
 Process an entry. More...
 

Detailed Description

Any cache entry mutations will not take effect until after the Process method has completedS execution.

If an exception is thrown by an entry processor, a Caching Implementation must wrap any exception thrown wrapped in an CacheEntryProcessorException If this occurs no mutations will be made to the cache entry.

Template Parameters
TKKey type.
TVValue type.
TArgThe type of the processor argument.
TResThe type of the processor result.

Member Function Documentation

TRes Apache.Ignite.Core.Cache.ICacheEntryProcessor< in in TK, TV, in in TArg, out out TRes >.Process ( IMutableCacheEntry< TK, TV >  entry,
TArg  arg 
)
Parameters
entryThe entry to process.
argThe argument.
Returns
Processing result.