Apache Ignite C++
Public Member Functions | List of all members
ignite::cache::CacheEntry< K, V > Class Template Reference

Cache entry. More...

#include <cache_entry.h>

Public Member Functions

 CacheEntry ()
 Default constructor.
 
 CacheEntry (const K &key, const V &val)
 Constructor. More...
 
 CacheEntry (const CacheEntry &other)
 Copy constructor. More...
 
CacheEntryoperator= (const CacheEntry &other)
 Assignment operator. More...
 
GetKey () const
 Get key. More...
 
GetValue () const
 Get value. More...
 

Detailed Description

template<typename K, typename V>
class ignite::cache::CacheEntry< K, V >

Cache entry.

Constructor & Destructor Documentation

template<typename K, typename V>
ignite::cache::CacheEntry< K, V >::CacheEntry ( const K &  key,
const V &  val 
)
inline

Constructor.

Parameters
keyKey.
valValue.
template<typename K, typename V>
ignite::cache::CacheEntry< K, V >::CacheEntry ( const CacheEntry< K, V > &  other)
inline

Copy constructor.

Parameters
otherOther instance.

Member Function Documentation

template<typename K, typename V>
K ignite::cache::CacheEntry< K, V >::GetKey ( ) const
inline

Get key.

Returns
Key.
template<typename K, typename V>
V ignite::cache::CacheEntry< K, V >::GetValue ( ) const
inline

Get value.

Returns
Value.
template<typename K, typename V>
CacheEntry& ignite::cache::CacheEntry< K, V >::operator= ( const CacheEntry< K, V > &  other)
inline

Assignment operator.

Parameters
otherOther instance.

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