MySQL 9.0.0
Source Code Documentation
temptable::TableResourceMonitor Class Reference

#include <allocator.h>

Public Member Functions

 TableResourceMonitor (size_t threshold)
 
size_t increase (size_t bytes)
 
size_t decrease (size_t bytes)
 
size_t threshold ()
 
size_t consumption ()
 

Private Attributes

size_t m_threshold
 
size_t m_total_bytes
 

Constructor & Destructor Documentation

◆ TableResourceMonitor()

temptable::TableResourceMonitor::TableResourceMonitor ( size_t  threshold)
inline

Member Function Documentation

◆ consumption()

size_t temptable::TableResourceMonitor::consumption ( )
inline

◆ decrease()

size_t temptable::TableResourceMonitor::decrease ( size_t  bytes)
inline

◆ increase()

size_t temptable::TableResourceMonitor::increase ( size_t  bytes)
inline

◆ threshold()

size_t temptable::TableResourceMonitor::threshold ( )
inline

Member Data Documentation

◆ m_threshold

size_t temptable::TableResourceMonitor::m_threshold
private

◆ m_total_bytes

size_t temptable::TableResourceMonitor::m_total_bytes
private

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