AWS SDK for C++  1.9.70
AWS SDK for C++
Public Member Functions | List of all members
Aws::Utils::ConcurrentCache< TKey, TValue > Class Template Reference

#include <ConcurrentCache.h>

Public Member Functions

 ConcurrentCache (size_t size=1000)
 
bool Get (const TKey &key, TValue &value) const
 
template<typename UValue >
void Put (const TKey &key, UValue &&val, std::chrono::milliseconds duration)
 
template<typename UValue >
void Put (TKey &&key, UValue &&val, std::chrono::milliseconds duration)
 

Detailed Description

template<typename TKey, typename TValue>
class Aws::Utils::ConcurrentCache< TKey, TValue >

Definition at line 17 of file ConcurrentCache.h.

Constructor & Destructor Documentation

◆ ConcurrentCache()

template<typename TKey , typename TValue >
Aws::Utils::ConcurrentCache< TKey, TValue >::ConcurrentCache ( size_t  size = 1000)
inlineexplicit

Definition at line 20 of file ConcurrentCache.h.

Member Function Documentation

◆ Get()

template<typename TKey , typename TValue >
bool Aws::Utils::ConcurrentCache< TKey, TValue >::Get ( const TKey &  key,
TValue &  value 
) const
inline

Definition at line 22 of file ConcurrentCache.h.

◆ Put() [1/2]

template<typename TKey , typename TValue >
template<typename UValue >
void Aws::Utils::ConcurrentCache< TKey, TValue >::Put ( const TKey &  key,
UValue &&  val,
std::chrono::milliseconds  duration 
)
inline

Definition at line 29 of file ConcurrentCache.h.

◆ Put() [2/2]

template<typename TKey , typename TValue >
template<typename UValue >
void Aws::Utils::ConcurrentCache< TKey, TValue >::Put ( TKey &&  key,
UValue &&  val,
std::chrono::milliseconds  duration 
)
inline

Definition at line 36 of file ConcurrentCache.h.


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