Apache Mesos
Classes | Public Member Functions | List of all members
process::metrics::Gauge Class Reference

#include <gauge.hpp>

Inheritance diagram for process::metrics::Gauge:
process::metrics::Metric

Public Member Functions

 Gauge (const std::string &name, const std::function< Future< double >()> &f)
 
virtual ~Gauge ()
 
virtual Future< double > value () const
 
- Public Member Functions inherited from process::metrics::Metric
virtual ~Metric ()
 
const std::string & name () const
 
Option< Statistics< double > > statistics () const
 

Additional Inherited Members

- Protected Member Functions inherited from process::metrics::Metric
 Metric (const std::string &name, const Option< Duration > &window)
 
void push (double value)
 

Constructor & Destructor Documentation

process::metrics::Gauge::Gauge ( const std::string &  name,
const std::function< Future< double >()> &  f 
)
inline
virtual process::metrics::Gauge::~Gauge ( )
inlinevirtual

Member Function Documentation

virtual Future<double> process::metrics::Gauge::value ( ) const
inlinevirtual

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