Kea  2.1.7-git
isc::dhcp::MySqlLeaseContextPool Class Reference

MySQL Lease Context Pool. More...

#include <mysql_lease_mgr.h>

Public Attributes

std::mutex mutex_
 The mutex to protect pool access. More...
 
std::vector< MySqlLeaseContextPtrpool_
 The vector of available contexts. More...
 

Detailed Description

MySQL Lease Context Pool.

This class provides a pool of contexts. The manager will use this class to handle available contexts. There is only one ContextPool per manager per back-end, which is created and destroyed by the respective manager factory class.

Definition at line 73 of file mysql_lease_mgr.h.

Member Data Documentation

◆ mutex_

std::mutex isc::dhcp::MySqlLeaseContextPool::mutex_

The mutex to protect pool access.

Definition at line 80 of file mysql_lease_mgr.h.

◆ pool_

std::vector<MySqlLeaseContextPtr> isc::dhcp::MySqlLeaseContextPool::pool_

The vector of available contexts.

Definition at line 77 of file mysql_lease_mgr.h.


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