Monopoly — Portage moderne 0.1.0
Portage moderne C/C++23 du Monopoly de 1999
Loading...
Searching...
No Matches
monopoly::data::detail::RawDataPool Class Referencefinal
Inheritance diagram for monopoly::data::detail::RawDataPool:
[legend]
Collaboration diagram for monopoly::data::detail::RawDataPool:
[legend]

Public Member Functions

SharedDataBytes acquire (const std::weak_ptr< const DataBytes > &cached)
 
void reserve (std::size_t size)
 
void cancelReservation (std::size_t size) noexcept
 
SharedDataBytes publish (SharedDataBytes data, std::size_t reserved)
 
bool remove (const std::weak_ptr< const DataBytes > &cached) noexcept
 
void released (std::uint64_t identity) noexcept
 
RawDataCacheStats stats () const noexcept
 

Detailed Description

Definition at line 31 of file LegacyDataArchive.cpp.

Member Function Documentation

◆ acquire()

SharedDataBytes monopoly::data::detail::RawDataPool::acquire ( const std::weak_ptr< const DataBytes > &  cached)
inline

Definition at line 44 of file LegacyDataArchive.cpp.

◆ cancelReservation()

void monopoly::data::detail::RawDataPool::cancelReservation ( std::size_t  size)
inlinenoexcept

Definition at line 74 of file LegacyDataArchive.cpp.

◆ publish()

SharedDataBytes monopoly::data::detail::RawDataPool::publish ( SharedDataBytes  data,
std::size_t  reserved 
)
inline

Definition at line 80 of file LegacyDataArchive.cpp.

◆ released()

void monopoly::data::detail::RawDataPool::released ( std::uint64_t  identity)
inlinenoexcept

Definition at line 104 of file LegacyDataArchive.cpp.

◆ remove()

bool monopoly::data::detail::RawDataPool::remove ( const std::weak_ptr< const DataBytes > &  cached)
inlinenoexcept

Definition at line 92 of file LegacyDataArchive.cpp.

◆ reserve()

void monopoly::data::detail::RawDataPool::reserve ( std::size_t  size)
inline

Definition at line 56 of file LegacyDataArchive.cpp.

◆ stats()

RawDataCacheStats monopoly::data::detail::RawDataPool::stats ( ) const
inlinenoexcept

Definition at line 117 of file LegacyDataArchive.cpp.


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