Cache()=default | volcart::Cache< TKey, TValue > | protected |
Cache(const std::size_t capacity) | volcart::Cache< TKey, TValue > | inlineexplicitprotected |
capacity() const -> std::size_t=0 | volcart::Cache< TKey, TValue > | pure virtual |
capacity_ | volcart::Cache< TKey, TValue > | protected |
contains(const TKey &k) -> bool=0 | volcart::Cache< TKey, TValue > | pure virtual |
evict() -> void=0 | volcart::Cache< TKey, TValue > | pure virtual |
get(const TKey &k) -> TValue=0 | volcart::Cache< TKey, TValue > | pure virtual |
on_eject_ | volcart::Cache< TKey, TValue > | protected |
onEvict(std::function< bool(TKey &, TValue &)> fn)=0 | volcart::Cache< TKey, TValue > | pure virtual |
Pointer typedef | volcart::Cache< TKey, TValue > | |
purge() -> void=0 | volcart::Cache< TKey, TValue > | pure virtual |
put(const TKey &k, const TValue &v) -> void=0 | volcart::Cache< TKey, TValue > | pure virtual |
resetOnEvict()=0 | volcart::Cache< TKey, TValue > | pure virtual |
setCapacity(std::size_t newCapacity)=0 | volcart::Cache< TKey, TValue > | pure virtual |
size() const -> std::size_t=0 | volcart::Cache< TKey, TValue > | pure virtual |
~Cache()=default | volcart::Cache< TKey, TValue > | virtual |