#include <read_through_cache.hpp>
|
| | ReadThroughCache (ReadThroughCachePolicy policy, ReadThroughCacheBacking backing, ReadThroughCacheAllocator allocator={}, ReadThroughCacheTransactionOrder transaction={}) noexcept |
| |
| | ~ReadThroughCache () noexcept |
| |
| | ReadThroughCache (const ReadThroughCache &)=delete |
| |
| ReadThroughCache & | operator= (const ReadThroughCache &)=delete |
| |
| | ReadThroughCache (ReadThroughCache &&)=delete |
| |
| ReadThroughCache & | operator= (ReadThroughCache &&)=delete |
| |
| ScratchStatus | status () const noexcept |
| |
| ReadThroughCachePolicy | policy () const noexcept |
| |
| ReadThroughCacheStats | stats () const noexcept |
| |
| const ReportScratchIoError * | carried_failure () const noexcept |
| |
| std::size_t | transfer_workspace_bytes () const noexcept |
| |
| std::size_t | slot_count () const noexcept |
| |
| ScratchStatus | get (ReadThroughCacheKey key, ScratchBuffer destination) noexcept |
| |
| ReadLease | pin (ReadThroughCacheKey key, ScratchBuffer caller_workspace) noexcept |
| |
| void | unpin (ReadLease &lease) noexcept |
| |
| ScratchStatus | put (ReadThroughCacheKey key, ScratchBytes source) noexcept |
| |
| ScratchStatus | invalidate (ReadThroughCacheKey key) noexcept |
| |
| ScratchStatus | invalidate_all () noexcept |
| |
| ScratchStatus | invalidate_from (std::uint64_t identity, std::uint64_t generation, std::uint64_t byte_offset) noexcept |
| |
| ScratchStatus | on_append (std::uint64_t identity, std::uint64_t generation, std::uint64_t old_size_bytes) noexcept |
| |
| ScratchStatus | on_truncate (std::uint64_t identity, std::uint64_t generation, std::uint64_t new_size_bytes) noexcept |
| |
| ScratchStatus | on_generation_change (std::uint64_t identity, std::uint64_t new_generation) noexcept |
| |
| ScratchStatus | rebind (ReadThroughCacheBacking backing) noexcept |
| |
| ScratchStatus | flush () noexcept |
| |
| ScratchStatus | discard_dirty () noexcept |
| |
Definition at line 95 of file read_through_cache.hpp.
◆ ReadThroughCache() [1/3]
◆ ~ReadThroughCache()
| pineforge::detail::ReadThroughCache::~ReadThroughCache |
( |
| ) |
|
|
inlinenoexcept |
◆ ReadThroughCache() [2/3]
| pineforge::detail::ReadThroughCache::ReadThroughCache |
( |
const ReadThroughCache & | | ) |
|
|
delete |
◆ ReadThroughCache() [3/3]
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ status()
| ScratchStatus pineforge::detail::ReadThroughCache::status |
( |
| ) |
const |
|
inlinenoexcept |
◆ policy()
◆ stats()
◆ carried_failure()
◆ line_bytes()
| static std::size_t pineforge::detail::ReadThroughCache::line_bytes |
( |
std::size_t | page_size | ) |
|
|
inlinestaticnoexcept |
◆ control_bytes()
| static std::size_t pineforge::detail::ReadThroughCache::control_bytes |
( |
| ) |
|
|
inlinestaticnoexcept |
◆ transfer_workspace_bytes()
| std::size_t pineforge::detail::ReadThroughCache::transfer_workspace_bytes |
( |
| ) |
const |
|
inlinenoexcept |
◆ slot_count()
| std::size_t pineforge::detail::ReadThroughCache::slot_count |
( |
| ) |
const |
|
inlinenoexcept |
◆ get()
◆ pin()
◆ unpin()
| void pineforge::detail::ReadThroughCache::unpin |
( |
ReadLease & | lease | ) |
|
|
inlinenoexcept |
◆ put()
◆ invalidate()
◆ invalidate_all()
| ScratchStatus pineforge::detail::ReadThroughCache::invalidate_all |
( |
| ) |
|
|
inlinenoexcept |
◆ invalidate_from()
| ScratchStatus pineforge::detail::ReadThroughCache::invalidate_from |
( |
std::uint64_t | identity, |
|
|
std::uint64_t | generation, |
|
|
std::uint64_t | byte_offset ) |
|
inlinenoexcept |
◆ on_append()
| ScratchStatus pineforge::detail::ReadThroughCache::on_append |
( |
std::uint64_t | identity, |
|
|
std::uint64_t | generation, |
|
|
std::uint64_t | old_size_bytes ) |
|
inlinenoexcept |
◆ on_truncate()
| ScratchStatus pineforge::detail::ReadThroughCache::on_truncate |
( |
std::uint64_t | identity, |
|
|
std::uint64_t | generation, |
|
|
std::uint64_t | new_size_bytes ) |
|
inlinenoexcept |
◆ on_generation_change()
| ScratchStatus pineforge::detail::ReadThroughCache::on_generation_change |
( |
std::uint64_t | identity, |
|
|
std::uint64_t | new_generation ) |
|
inlinenoexcept |
◆ rebind()
◆ flush()
◆ discard_dirty()
| ScratchStatus pineforge::detail::ReadThroughCache::discard_dirty |
( |
| ) |
|
|
inlinenoexcept |
The documentation for this class was generated from the following file: