Template Class AtomicCache

Nested Relationships

Nested Types

Class Documentation

template<class Key, class Value, class Hash = std::hash<Key>, class Equals = std::equal_to<Key>>
class AtomicCache

Public Functions

AtomicCache(size_t size, size_t buckets)
std::pair<bool, Value> find(const Key &key) const
void store(const Key &key, Value value)
const Stats stats() const
struct Stats

Public Members

template<>
size_t hits = {0}
template<>
size_t misses = {0}