Kea 2.7.5
isc::dhcp::LeasePageSize Class Reference

Wraps value holding size of the page with leases. More...

#include <lease_mgr.h>

Public Member Functions

 LeasePageSize (const size_t page_size)
 Constructor.
 

Public Attributes

const size_t page_size_
 Holds page size.
 

Detailed Description

Wraps value holding size of the page with leases.

Definition at line 46 of file lease_mgr.h.

Constructor & Destructor Documentation

◆ LeasePageSize()

isc::dhcp::LeasePageSize::LeasePageSize ( const size_t page_size)
explicit

Constructor.

Parameters
page_sizepage size value.
Exceptions
OutOfRangeif page size is 0 or greater than uint32_t numeric limit.

Definition at line 41 of file lease_mgr.cc.

References isc_throw, and page_size_.

Member Data Documentation

◆ page_size_

const size_t isc::dhcp::LeasePageSize::page_size_

Holds page size.

Definition at line 56 of file lease_mgr.h.

Referenced by LeasePageSize().


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