Template Struct memory¶
Defined in File cache.h
Struct Documentation¶
-
template<typename
KeyT, typenameValueT= void>
structudho::cache::storage::memory¶ Public Types
-
typedef std::map<key_type, content_type>
map_type¶
-
typedef session_config_type
config_type¶
Public Functions
-
memory(const session_config_type &config)¶
-
std::size_t
size() const¶
-
void
create(const key_type &key, const content_type &content)¶
-
content_type
retrieve(const key_type &key) const¶
-
bool
update(const key_type &key, const content_type &content)¶
-
typedef std::map<key_type, content_type>