|
Apache Mesos
|
#include <sorter.hpp>
Classes | |
| struct | Node |
Public Member Functions | |
| RandomSorter () | |
| RandomSorter (const process::UPID &allocator, const std::string &metricsPrefix) | |
| ~RandomSorter () override | |
| void | initialize (const Option< std::set< std::string >> &fairnessExcludeResourceNames) override |
| void | add (const std::string &clientPath) override |
| void | remove (const std::string &clientPath) override |
| void | activate (const std::string &clientPath) override |
| void | deactivate (const std::string &clientPath) override |
| void | updateWeight (const std::string &path, double weight) override |
| void | allocated (const std::string &clientPath, const SlaveID &slaveId, const Resources &resources) override |
| void | update (const std::string &clientPath, const SlaveID &slaveId, const Resources &oldAllocation, const Resources &newAllocation) override |
| void | unallocated (const std::string &clientPath, const SlaveID &slaveId, const Resources &resources) override |
| const hashmap< SlaveID, Resources > & | allocation (const std::string &clientPath) const override |
| const ResourceQuantities & | allocationScalarQuantities (const std::string &clientPath) const override |
| const ResourceQuantities & | allocationScalarQuantities () const override |
| Resources | allocation (const std::string &clientPath, const SlaveID &slaveId) const override |
| void | addSlave (const SlaveID &slaveId, const ResourceQuantities &scalarQuantities) override |
| void | removeSlave (const SlaveID &slaveId) override |
| std::vector< std::string > | sort () override |
| bool | contains (const std::string &clientPath) const override |
| size_t | count () const override |
Public Member Functions inherited from mesos::internal::master::allocator::Sorter | |
| Sorter ()=default | |
| Sorter (const process::UPID &allocator, const std::string &metricsPrefix) | |
| virtual | ~Sorter ()=default |
| mesos::internal::master::allocator::RandomSorter::RandomSorter | ( | ) |
|
explicit |
|
override |
|
overridevirtual |
Implements mesos::internal::master::allocator::Sorter.
|
overridevirtual |
Implements mesos::internal::master::allocator::Sorter.
|
inlineoverridevirtual |
Implements mesos::internal::master::allocator::Sorter.
|
overridevirtual |
Implements mesos::internal::master::allocator::Sorter.
|
overridevirtual |
Implements mesos::internal::master::allocator::Sorter.
|
overridevirtual |
Implements mesos::internal::master::allocator::Sorter.
|
overridevirtual |
Implements mesos::internal::master::allocator::Sorter.
|
overridevirtual |
Implements mesos::internal::master::allocator::Sorter.
|
overridevirtual |
Implements mesos::internal::master::allocator::Sorter.
|
overridevirtual |
Implements mesos::internal::master::allocator::Sorter.
|
overridevirtual |
Implements mesos::internal::master::allocator::Sorter.
|
overridevirtual |
Implements mesos::internal::master::allocator::Sorter.
|
overridevirtual |
Implements mesos::internal::master::allocator::Sorter.
|
inlineoverridevirtual |
Implements mesos::internal::master::allocator::Sorter.
|
overridevirtual |
Implements mesos::internal::master::allocator::Sorter.
|
overridevirtual |
Implements mesos::internal::master::allocator::Sorter.
|
overridevirtual |
Implements mesos::internal::master::allocator::Sorter.
|
overridevirtual |
Implements mesos::internal::master::allocator::Sorter.
1.8.11