Kea 2.5.8
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.
std::vector< PgSqlLeaseContextPtrpool_
 The vector of available contexts.

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 73 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 80 of file pgsql_lease_mgr.h.

◆ pool_

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

The vector of available contexts.

Definition at line 77 of file pgsql_lease_mgr.h.

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