#include <hierarchical.hpp>
mesos::internal::master::allocator::internal::RoleTree::RoleTree |
( |
| ) |
|
mesos::internal::master::allocator::internal::RoleTree::RoleTree |
( |
Metrics * |
metrics | ) |
|
mesos::internal::master::allocator::internal::RoleTree::~RoleTree |
( |
| ) |
|
Option<const Role*> mesos::internal::master::allocator::internal::RoleTree::get |
( |
const std::string & |
role | ) |
const |
const hashmap<std::string, Role>& mesos::internal::master::allocator::internal::RoleTree::roles |
( |
| ) |
const |
|
inline |
const Role* mesos::internal::master::allocator::internal::RoleTree::root |
( |
| ) |
const |
|
inline |
std::string mesos::internal::master::allocator::internal::RoleTree::toJSON |
( |
| ) |
const |
void mesos::internal::master::allocator::internal::RoleTree::trackAllocated |
( |
const SlaveID & |
slaveId, |
|
|
const Resources & |
resources |
|
) |
| |
void mesos::internal::master::allocator::internal::RoleTree::trackFramework |
( |
const FrameworkID & |
frameworkId, |
|
|
const std::string & |
role |
|
) |
| |
void mesos::internal::master::allocator::internal::RoleTree::trackOfferedOrAllocated |
( |
const SlaveID & |
slaveId, |
|
|
const Resources & |
resources |
|
) |
| |
void mesos::internal::master::allocator::internal::RoleTree::trackReservations |
( |
const Resources & |
resources | ) |
|
void mesos::internal::master::allocator::internal::RoleTree::untrackAllocated |
( |
const SlaveID & |
slaveId, |
|
|
const Resources & |
resources |
|
) |
| |
void mesos::internal::master::allocator::internal::RoleTree::untrackFramework |
( |
const FrameworkID & |
frameworkId, |
|
|
const std::string & |
role |
|
) |
| |
void mesos::internal::master::allocator::internal::RoleTree::untrackOfferedOrAllocated |
( |
const SlaveID & |
slaveId, |
|
|
const Resources & |
resources |
|
) |
| |
void mesos::internal::master::allocator::internal::RoleTree::untrackReservations |
( |
const Resources & |
resources | ) |
|
void mesos::internal::master::allocator::internal::RoleTree::updateQuota |
( |
const std::string & |
role, |
|
|
const Quota & |
quota |
|
) |
| |
void mesos::internal::master::allocator::internal::RoleTree::updateWeight |
( |
const std::string & |
role, |
|
|
double |
weight |
|
) |
| |
The documentation for this class was generated from the following file: