MySQL 9.7.0
Source Code Documentation
host_cache::TemporaryEntry Class Reference

#include <host_cache_temporary_entry.h>

Public Types

enum class  State { Initializing , Resolving , Finished }
 
using steady_clock = std::chrono::steady_clock
 
using time_point = steady_clock::time_point
 
template<typename ValueType >
using WaitableVariable = mysql_harness::utility::WaitableVariable< ValueType >
 

Public Attributes

Entry host_entry_
 
WaitableVariable< Statestate_ {State::Initializing}
 
std::atomic< uint64_t > resolve_waiters_peak_ {1}
 
time_point creation_time_ {steady_clock::now()}
 

Member Typedef Documentation

◆ steady_clock

using host_cache::TemporaryEntry::steady_clock = std::chrono::steady_clock

◆ time_point

using host_cache::TemporaryEntry::time_point = steady_clock::time_point

◆ WaitableVariable

Member Enumeration Documentation

◆ State

Enumerator
Initializing 
Resolving 
Finished 

Member Data Documentation

◆ creation_time_

time_point host_cache::TemporaryEntry::creation_time_ {steady_clock::now()}

◆ host_entry_

Entry host_cache::TemporaryEntry::host_entry_

◆ resolve_waiters_peak_

std::atomic<uint64_t> host_cache::TemporaryEntry::resolve_waiters_peak_ {1}

◆ state_

WaitableVariable<State> host_cache::TemporaryEntry::state_ {State::Initializing}

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