rippled
Public Member Functions | List of all members
beast::insight::Groups Class Referenceabstract

A container for managing a set of metric groups. More...

Inheritance diagram for beast::insight::Groups:
Inheritance graph
[legend]

Public Member Functions

virtual ~Groups ()=0
 
virtual Group::ptr const & get (std::string const &name)=0
 Find or create a new collector with a given name. More...
 
Group::ptr const & operator[] (std::string const &name)
 

Detailed Description

A container for managing a set of metric groups.

Definition at line 33 of file Groups.h.

Constructor & Destructor Documentation

◆ ~Groups()

beast::insight::Groups::~Groups ( )
pure virtualdefault

Member Function Documentation

◆ get()

virtual Group::ptr const& beast::insight::Groups::get ( std::string const &  name)
pure virtual

Find or create a new collector with a given name.

Implemented in beast::insight::detail::GroupsImp.

◆ operator[]()

Group::ptr const& beast::insight::Groups::operator[] ( std::string const &  name)

Definition at line 44 of file Groups.h.