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

#include <metrics.hpp>

Public Member Functions

 Metrics (const process::UPID &context, DRFSorter &sorter, const std::string &prefix)
 
 ~Metrics ()
 
void add (const std::string &client)
 
void remove (const std::string &client)
 

Public Attributes

const process::UPID context
 
DRFSortersorter
 
const std::string prefix
 
hashmap< std::string,
process::metrics::Gauge
dominantShares
 

Constructor & Destructor Documentation

mesos::internal::master::allocator::Metrics::Metrics ( const process::UPID context,
DRFSorter sorter,
const std::string &  prefix 
)
explicit
mesos::internal::master::allocator::Metrics::~Metrics ( )

Member Function Documentation

void mesos::internal::master::allocator::Metrics::add ( const std::string &  client)
void mesos::internal::master::allocator::Metrics::remove ( const std::string &  client)

Member Data Documentation

const process::UPID mesos::internal::master::allocator::Metrics::context
hashmap<std::string, process::metrics::Gauge> mesos::internal::master::allocator::Metrics::dominantShares
const std::string mesos::internal::master::allocator::Metrics::prefix
DRFSorter* mesos::internal::master::allocator::Metrics::sorter

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