Apache Mesos
Classes | Namespaces | Functions | Variables
metrics.hpp File Reference
#include <map>
#include <string>
#include <vector>
#include <process/dispatch.hpp>
#include <process/future.hpp>
#include <process/limiter.hpp>
#include <process/owned.hpp>
#include <process/process.hpp>
#include <process/metrics/metric.hpp>
#include <stout/hashmap.hpp>
#include <stout/nothing.hpp>
#include <stout/option.hpp>

Go to the source code of this file.

Classes

class  process::metrics::internal::MetricsProcess
 

Namespaces

 process
 
 process::metrics
 
 process::metrics::internal
 

Functions

template<typename T >
Future< Nothingprocess::metrics::add (const T &metric)
 
Future< Nothingprocess::metrics::remove (const Metric &metric)
 
Future< std::map< std::string, double > > process::metrics::snapshot (const Option< Duration > &timeout)
 

Variables

PID< MetricsProcess > process::metrics::internal::metrics