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
inline
ResourceQuantities mesos::internal::master::allocator::internal::ScalarResourceTotals::quantities ( ) const
inline
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: