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

#include <gauge.hpp>

Inheritance diagram for process::metrics::Gauge:

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 
virtual process::metrics::Gauge::~Gauge ( )

Member Function Documentation

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

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