#include <sorter.hpp>
mesos::internal::master::allocator::RandomSorter::Node::Allocation::Allocation |
( |
| ) |
|
|
inline |
void mesos::internal::master::allocator::RandomSorter::Node::Allocation::add |
( |
const SlaveID & |
slaveId, |
|
|
const Resources & |
toAdd |
|
) |
| |
|
inline |
void mesos::internal::master::allocator::RandomSorter::Node::Allocation::subtract |
( |
const SlaveID & |
slaveId, |
|
|
const Resources & |
toRemove |
|
) |
| |
|
inline |
void mesos::internal::master::allocator::RandomSorter::Node::Allocation::update |
( |
const SlaveID & |
slaveId, |
|
|
const Resources & |
oldAllocation, |
|
|
const Resources & |
newAllocation |
|
) |
| |
|
inline |
hashmap<SlaveID, Resources> mesos::internal::master::allocator::RandomSorter::Node::Allocation::resources |
ResourceQuantities mesos::internal::master::allocator::RandomSorter::Node::Allocation::totals |
The documentation for this struct was generated from the following file:
- src/master/allocator/mesos/sorter/random/sorter.hpp