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

PostgreSQL Lease Context Pool. More...

#include <pgsql_lease_mgr.h>

Public Attributes

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

Detailed Description

PostgreSQL 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 72 of file pgsql_lease_mgr.h.

Member Data Documentation

◆ mutex_

std::mutex isc::dhcp::PgSqlLeaseContextPool::mutex_

The mutex to protect pool access.

Definition at line 79 of file pgsql_lease_mgr.h.

◆ pool_

std::vector<PgSqlLeaseContextPtr> isc::dhcp::PgSqlLeaseContextPool::pool_

The vector of available contexts.

Definition at line 76 of file pgsql_lease_mgr.h.


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