Decentralised Art Server
High-performance C++ backend that exposes HTML interface and a secure REST API for managing Performative Transactions entities
Loading...
Searching...
No Matches
dcn::registry::LruCache< KeyT, ValueT > Struct Template Reference

#include <registry.hpp>

Classes

struct  Entry

Public Attributes

const char * name = "unnamed-cache"
std::size_t capacity = 0
std::list< KeyT > order
absl::flat_hash_map< KeyT, Entryentries

Member Data Documentation

◆ capacity

template<typename KeyT, typename ValueT>
std::size_t dcn::registry::LruCache< KeyT, ValueT >::capacity = 0

◆ entries

template<typename KeyT, typename ValueT>
absl::flat_hash_map<KeyT, Entry> dcn::registry::LruCache< KeyT, ValueT >::entries

◆ name

template<typename KeyT, typename ValueT>
const char* dcn::registry::LruCache< KeyT, ValueT >::name = "unnamed-cache"

◆ order

template<typename KeyT, typename ValueT>
std::list<KeyT> dcn::registry::LruCache< KeyT, ValueT >::order

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