| Apache Ignite C++

Public Member Functions | Friends | List of all members
ignite::cache::CacheEntryProcessor< K, V, R, A > Class Template Referenceabstract

Cache entry processor class template. More...

`#include <cache_entry_processor.h>`

## Public Member Functions
virtual | ~CacheEntryProcessor ()
| Destructor.
virtual R | Process (MutableCacheEntry< K, V > &entry, const A &arg)=0
| Process entry, using input argument and return result. More...

## Friends
class | ignite::IgniteBinding

## Detailed Description

### template<typename K, typename V, typename R, typename A>
class ignite::cache::CacheEntryProcessor< K, V, R, A >

Cache entry processor class template.

Any cache processor should inherit from this class.

All templated types should be default-constructable, copy-constructable and assignable.

Template Parameters

  K | Key type.
  V | Value type.
  R | Process method return type.
  A | Process method argument type.

## Member Function Documentation

## ◆ Process()

template<typename K , typename V , typename R , typename A >

virtual R ignite::cache::CacheEntryProcessor< K, V, R, A >::Process | ( | MutableCacheEntry< K, V > & | entry,
|  | const A & | arg
| ) |  |
| pure virtual

Process entry, using input argument and return result.

Parameters

  entry | Entry to process.
  arg | Argument.

Returns
  Processing result.

The documentation for this class was generated from the following file:

- cache_entry_processor.h