Seastar
High performance C++ framework for concurrent servers
Public Member Functions | List of all members
seastar::scollectd::registration Struct Reference

Detailed Description

Anchor for polled registration. Iff the registered type is in some way none-persistent, use this as receiver of the reg and ensure it dies before the added value(s).

Use: uint64_t v = 0; registration r = add_polled_metric(v); ++r; <scope end, above dies>

#include <seastar/core/scollectd.hh>

Public Member Functions

 registration (const type_instance_id &id)
 
 registration (type_instance_id &&id)
 
 registration (const registration &)=delete
 
 registration (registration &&)=default
 
registrationoperator= (const registration &)=delete
 
registrationoperator= (registration &&)=default
 
void unregister ()
 

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