Kea  2.1.7-git
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. More...
 

Public Attributes

const size_t page_size_
 Holds page size. More...
 

Detailed Description

Wraps value holding size of the page with leases.

Definition at line 44 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 36 of file lease_mgr.cc.

References isc_throw, and page_size_.

Member Data Documentation

◆ page_size_


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