NCBI C++ ToolKit
Public Member Functions | Public Attributes | Private Member Functions | List of all members
SNSRegistryParameters Struct Reference

Search Toolkit Book for SNSRegistryParameters

#include "ns_server_params.hpp"
(Private to src/app/netschedule.)

Public Member Functions

void Read (const IRegistry &reg, const string &sname, const string &name, unsigned int default_max, unsigned int default_high_mark_percentage, unsigned int default_low_mark_percentage, unsigned int default_high_removal, unsigned int default_low_removal, unsigned int default_dirt_percentage)
 
string Serialize (const string &name, const string &prefix, const string &suffix) const
 

Public Attributes

unsigned int max_records
 
unsigned int high_mark_percentage
 
unsigned int low_mark_percentage
 
unsigned int high_removal
 
unsigned int low_removal
 
unsigned int dirt_percentage
 

Private Member Functions

void x_CheckGarbageCollectorSettings (unsigned int default_high_mark_percentage, unsigned int default_low_mark_percentage, unsigned int default_high_removal, unsigned int default_low_removal, unsigned int default_dirt_percentage)
 

Detailed Description

Definition at line 90 of file ns_server_params.hpp.

Member Function Documentation

◆ Read()

void SNSRegistryParameters::Read ( const IRegistry reg,
const string sname,
const string name,
unsigned int  default_max,
unsigned int  default_high_mark_percentage,
unsigned int  default_low_mark_percentage,
unsigned int  default_high_removal,
unsigned int  default_low_removal,
unsigned int  default_dirt_percentage 
)

◆ Serialize()

string SNSRegistryParameters::Serialize ( const string name,
const string prefix,
const string suffix 
) const

◆ x_CheckGarbageCollectorSettings()

void SNSRegistryParameters::x_CheckGarbageCollectorSettings ( unsigned int  default_high_mark_percentage,
unsigned int  default_low_mark_percentage,
unsigned int  default_high_removal,
unsigned int  default_low_removal,
unsigned int  default_dirt_percentage 
)
private

Definition at line 373 of file ns_server_params.cpp.

References dirt_percentage, high_mark_percentage, high_removal, low_mark_percentage, and low_removal.

Referenced by Read().

Member Data Documentation

◆ dirt_percentage

unsigned int SNSRegistryParameters::dirt_percentage

◆ high_mark_percentage

unsigned int SNSRegistryParameters::high_mark_percentage

◆ high_removal

unsigned int SNSRegistryParameters::high_removal

◆ low_mark_percentage

unsigned int SNSRegistryParameters::low_mark_percentage

◆ low_removal

unsigned int SNSRegistryParameters::low_removal

◆ max_records

unsigned int SNSRegistryParameters::max_records

The documentation for this struct was generated from the following files:
Modified on Wed Apr 17 13:08:11 2024 by modify_doxy.py rev. 669887