Apache Mesos
|
#include <pull_gauge.hpp>
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) |
|
inline |
|
inlineoverride |
|
inlineoverridevirtual |
Implements process::metrics::Metric.