lintel 0.2.0
Loading...
Searching...
No Matches
Public Member Functions | Friends | List of all members
lintel::HistoryServiceEntry Class Reference

#include <HistoryServiceEntry.h>

Inheritance diagram for lintel::HistoryServiceEntry:
lintel::Entry

Public Member Functions

 HistoryServiceEntry (const std::string_view &component, std::string processName, std::string queueName, int32_t maxMessages)
 
const std::string & get_process_name () const
 
const std::string & get_queue_name () const
 
constexpr int32_t get_max_messages () const
 
- Public Member Functions inherited from lintel::Entry
 Entry (std::string_view component)
 
constexpr std::string_view getConfigurationParserComponent () const
 

Friends

std::ostream & operator<< (std::ostream &os, const HistoryServiceEntry &entry)
 

Detailed Description

Configuration entry for the history service

Constructor & Destructor Documentation

◆ HistoryServiceEntry()

lintel::HistoryServiceEntry::HistoryServiceEntry ( const std::string_view &  component,
std::string  processName,
std::string  queueName,
int32_t  maxMessages 
)

Construct a history service entry

Parameters
componentThe configuration component name
processNameThe owning process name
queueNameThe name of the history message queue
maxMessagesThe maximum message count

Member Function Documentation

◆ get_max_messages()

constexpr int32_t lintel::HistoryServiceEntry::get_max_messages ( ) const
inlineconstexpr

Get the maximum message count

Returns
The max messages

◆ get_process_name()

const std::string & lintel::HistoryServiceEntry::get_process_name ( ) const

Get the owning process name

Returns
The process name

◆ get_queue_name()

const std::string & lintel::HistoryServiceEntry::get_queue_name ( ) const

Get the history message queue name

Returns
The queue name

Friends And Related Symbol Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream &  os,
const HistoryServiceEntry &  entry 
)
friend

Stream insertion operator

Parameters
osThe output stream
entryThe entry to output
Returns
The output stream

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