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

#include <counter.hpp>

Inheritance diagram for process::metrics::Counter:
process::metrics::Metric

Public Member Functions

virtual ~Counter ()
 
virtual Future< double > value () const
 
void reset ()
 
Counteroperator++ ()
 
Counter operator++ (int)
 
Counteroperator+= (int64_t v)
 
- Public Member Functions inherited from process::metrics::Metric
virtual ~Metric ()
 
const std::string & name () const
 
Option< Statistics< double > > statistics () const
 

Public Attributes

 __pad0__: Metric(name
 
 window
 

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

virtual process::metrics::Counter::~Counter ( )
inlinevirtual

Member Function Documentation

Counter& process::metrics::Counter::operator++ ( )
inline
Counter process::metrics::Counter::operator++ ( int  )
inline
Counter& process::metrics::Counter::operator+= ( int64_t  v)
inline
void process::metrics::Counter::reset ( )
inline
virtual Future<double> process::metrics::Counter::value ( ) const
inlinevirtual

Member Data Documentation

process::metrics::Counter::__pad0__
process::metrics::Counter::window

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