MySQL 9.3.0
Source Code Documentation
connection_control::Failed_attempts_list_imp Class Reference

#include <failed_attempts_list_imp.h>

Inheritance diagram for connection_control::Failed_attempts_list_imp:
[legend]

Classes

struct  ciLessLibC
 

Public Member Functions

void failed_attempts_define (const char *userhost)
 
bool failed_attempts_undefine (const char *userhost)
 
Connection_control_pfs_table_datacopy_pfs_table_data ()
 Fetch a copy of the queue data to return to a PFS table. More...
 
unsigned long long get_failed_attempts_list_count ()
 
unsigned long long get_failed_attempts_count (const char *userhost)
 
void reset ()
 

Private Attributes

std::map< std::string, PSI_ulong, ciLessLibCfailed_attempts_map
 
std::mutex LOCK_failed_attempts_list
 
std::shared_mutex LOCK_shared_failed_attempts_list
 

Additional Inherited Members

- Static Public Member Functions inherited from connection_control::Connection_control_alloc
static void * operator new (size_t size) noexcept
 
static void * operator new[] (size_t size) noexcept
 
static void operator delete (void *ptr)
 
static void operator delete[] (void *ptr)
 

Member Function Documentation

◆ copy_pfs_table_data()

Connection_control_pfs_table_data * connection_control::Failed_attempts_list_imp::copy_pfs_table_data ( )

Fetch a copy of the queue data to return to a PFS table.

Return values
thedata to put in the PFS table

◆ failed_attempts_define()

void connection_control::Failed_attempts_list_imp::failed_attempts_define ( const char *  userhost)

◆ failed_attempts_undefine()

bool connection_control::Failed_attempts_list_imp::failed_attempts_undefine ( const char *  userhost)

◆ get_failed_attempts_count()

unsigned long long connection_control::Failed_attempts_list_imp::get_failed_attempts_count ( const char *  userhost)

◆ get_failed_attempts_list_count()

unsigned long long connection_control::Failed_attempts_list_imp::get_failed_attempts_list_count ( )

◆ reset()

void connection_control::Failed_attempts_list_imp::reset ( )

Member Data Documentation

◆ failed_attempts_map

std::map<std::string, PSI_ulong, ciLessLibC> connection_control::Failed_attempts_list_imp::failed_attempts_map
private

◆ LOCK_failed_attempts_list

std::mutex connection_control::Failed_attempts_list_imp::LOCK_failed_attempts_list
private

◆ LOCK_shared_failed_attempts_list

std::shared_mutex connection_control::Failed_attempts_list_imp::LOCK_shared_failed_attempts_list
private

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