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

#include <pull_gauge.hpp>

Inheritance diagram for process::metrics::PullGauge:

Public Member Functions

 PullGauge (const std::string &name, const std::function< Future< double >()> &f)
 ~PullGauge () override
Future< double > value () const override
- 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::PullGauge::PullGauge ( const std::string &  name,
const std::function< Future< double >()> &  f 
process::metrics::PullGauge::~PullGauge ( )

Member Function Documentation

Future<double> process::metrics::PullGauge::value ( ) const

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