MySQL 26.10.0
Source Code Documentation
mysql_harness::TlsReloadComponent::Impl Class Reference

Classes

struct  Registration
 

Public Types

enum class  State { kIdle , kRequested , kActive , kShutdown }
 

Public Member Functions

bool is_shutdown ()
 
void worker_main ()
 

Public Attributes

std::mutex registrations_mtx
 
std::thread worker
 
std::vector< std::shared_ptr< Registration > > registrations
 
utility::WaitableVariable< State > state {State::kIdle}
 

Member Enumeration Documentation

◆ State

Enumerator
kIdle 
kRequested 
kActive 
kShutdown 

Member Function Documentation

◆ is_shutdown()

bool mysql_harness::TlsReloadComponent::Impl::is_shutdown ( )
inline

◆ worker_main()

void mysql_harness::TlsReloadComponent::Impl::worker_main ( )
inline

Member Data Documentation

◆ registrations

std::vector<std::shared_ptr<Registration> > mysql_harness::TlsReloadComponent::Impl::registrations

◆ registrations_mtx

std::mutex mysql_harness::TlsReloadComponent::Impl::registrations_mtx

◆ state

utility::WaitableVariable<State> mysql_harness::TlsReloadComponent::Impl::state {State::kIdle}

◆ worker

std::thread mysql_harness::TlsReloadComponent::Impl::worker

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