Apache Mesos
Public Member Functions | List of all members
mesos::internal::master::allocator::internal::ScalarResourceTotals Class Reference

#include <hierarchical.hpp>

Public Member Functions

void add (const SlaveID &slaveID, const Resources &resources)
void subtract (const SlaveID &slaveID, const Resources &resources)
bool empty () const
ResourceQuantities quantities () const

Member Function Documentation

void mesos::internal::master::allocator::internal::ScalarResourceTotals::add ( const SlaveID &  slaveID,
const Resources resources 
bool mesos::internal::master::allocator::internal::ScalarResourceTotals::empty ( ) const
ResourceQuantities mesos::internal::master::allocator::internal::ScalarResourceTotals::quantities ( ) const
void mesos::internal::master::allocator::internal::ScalarResourceTotals::subtract ( const SlaveID &  slaveID,
const Resources resources 

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