persistent-cache-cpp
|
#include <cstdint>
#include <type_traits>
Go to the source code of this file.
Namespaces | |
core | |
Top-level namespace for core functionality. | |
Enumerations | |
enum | core::CacheEvent : uint32_t { core::CacheEvent::get = 1 << 0, core::CacheEvent::put = 1 << 1, core::CacheEvent::invalidate = 1 << 2, core::CacheEvent::touch = 1 << 3, core::CacheEvent::miss = 1 << 4, core::CacheEvent::evict_ttl = 1 << 5, core::CacheEvent::evict_lru = 1 << 6, core::CacheEvent::END_ = 1 << 7 } |
Event types that can be monitored. More... | |
Functions | |
CacheEvent | core::operator| (CacheEvent left, CacheEvent right) |
Returns the bitwise OR of two event types. More... | |
CacheEvent & | core::operator|= (CacheEvent &left, CacheEvent right) |
Assigns the bitwise OR of left and right to left . More... | |
CacheEvent | core::operator & (CacheEvent left, CacheEvent right) |
Returns the bitwise AND of two event types. More... | |
CacheEvent & | core::operator &= (CacheEvent &left, CacheEvent right) |
Assigns the bitwise AND of left and right to left . More... | |
CacheEvent | core::operator~ (CacheEvent ev) |
Returns the bitwise NOT of ev . Unused bits are set to zero. More... | |