Apache Mesos
Public Member Functions | Public Attributes | List of all members
mesos::internal::master::allocator::internal::FrameworkMetrics Struct Reference

#include <metrics.hpp>

Public Member Functions

 FrameworkMetrics (const FrameworkInfo &_frameworkInfo, const bool _publishPerFrameworkMetrics)
 
 ~FrameworkMetrics ()
 
void reviveRole (const std::string &role)
 
void suppressRole (const std::string &role)
 
void addSubscribedRole (const std::string &role)
 
void removeSubscribedRole (const std::string &role)
 
template<typename T >
void addMetric (const T &metric)
 
template<typename T >
void removeMetric (const T &metric)
 

Public Attributes

const FrameworkInfo frameworkInfo
 
const bool publishPerFrameworkMetrics
 
hashmap< std::string, process::metrics::PushGaugesuppressed
 

Constructor & Destructor Documentation

mesos::internal::master::allocator::internal::FrameworkMetrics::FrameworkMetrics ( const FrameworkInfo &  _frameworkInfo,
const bool  _publishPerFrameworkMetrics 
)
mesos::internal::master::allocator::internal::FrameworkMetrics::~FrameworkMetrics ( )

Member Function Documentation

template<typename T >
void mesos::internal::master::allocator::internal::FrameworkMetrics::addMetric ( const T &  metric)
void mesos::internal::master::allocator::internal::FrameworkMetrics::addSubscribedRole ( const std::string &  role)
template<typename T >
void mesos::internal::master::allocator::internal::FrameworkMetrics::removeMetric ( const T &  metric)
void mesos::internal::master::allocator::internal::FrameworkMetrics::removeSubscribedRole ( const std::string &  role)
void mesos::internal::master::allocator::internal::FrameworkMetrics::reviveRole ( const std::string &  role)
void mesos::internal::master::allocator::internal::FrameworkMetrics::suppressRole ( const std::string &  role)

Member Data Documentation

const FrameworkInfo mesos::internal::master::allocator::internal::FrameworkMetrics::frameworkInfo
const bool mesos::internal::master::allocator::internal::FrameworkMetrics::publishPerFrameworkMetrics
hashmap<std::string, process::metrics::PushGauge> mesos::internal::master::allocator::internal::FrameworkMetrics::suppressed

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