Seastar
High performance C++ framework for concurrent servers
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
Public Member Functions | List of all members
seastar::metrics::impl::registered_metric Class Referencefinal

Public Member Functions

 registered_metric (metric_id id, metric_function f, bool enabled=true, skip_when_empty skip=skip_when_empty::no)
 
metric_value operator() () const
 
bool is_enabled () const
 
void set_enabled (bool b)
 
void set_skip_when_empty (skip_when_empty skip) noexcept
 
const metric_idget_id () const
 
const metric_infoinfo () const
 
metric_infoinfo ()
 
const metric_function & get_function () const
 

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