MySQL 8.4.0
Source Code Documentation
PooledConnectionBase Class Reference

pooled connection. More...

#include <connection_pool.h>

Inheritance diagram for PooledConnectionBase:
[legend]

Public Member Functions

void remover (std::function< void()> remover)
 set a remove-callback. More...
 
void remove_me ()
 calls remove-callback. More...
 
void reset ()
 

Private Attributes

std::function< void()> remover_
 

Detailed Description

pooled connection.

Member Function Documentation

◆ remove_me()

void PooledConnectionBase::remove_me ( )

calls remove-callback.

◆ remover()

void PooledConnectionBase::remover ( std::function< void()>  remover)
inline

set a remove-callback.

used when the pooled connection wants to remove itself from the connection-pool.

◆ reset()

void PooledConnectionBase::reset ( )

Member Data Documentation

◆ remover_

std::function<void()> PooledConnectionBase::remover_
private

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