7#ifndef LEASE_FILE_STATS_H
8#define LEASE_FILE_STATS_H
Provides statistics for leases.
uint32_t getWriteErrs() const
Gets the number of errors when writing leases.
~LeaseFileStats()
Destructor.
uint32_t getReadLeases() const
Gets the number of leases read.
LeaseFileStats()
Constructor.
uint32_t write_leases_
Number of lease written.
uint32_t getWriteLeases() const
Gets the number of leases written.
uint32_t getReadErrs() const
Gets the number of errors when reading leases.
uint32_t read_leases_
Number of leases read.
uint32_t reads_
Number of attempts to read a lease.
void clearStatistics()
Clears the statistics.
uint32_t writes_
Number of attempts to write a lease.
uint32_t getWrites() const
Gets the number of attempts to write a lease.
uint32_t write_errs_
Number of errors when writing.
uint32_t read_errs_
Number of errors when reading.
uint32_t getReads() const
Gets the number of attempts to read a lease.
Defines the logger used by the top-level component of kea-lfc.