![]() |
Muster SDK
8.0
|
#include <MPools.h>
Public Member Functions | |
MPool () | |
~MPool () | |
MPool & | operator= (const MPool &src) |
MPool (const MPool &src) | |
std::string | getName () |
void | setName (const std::string &_name) |
int | getNodesPriority () |
void | setNodesPriority (int _nodesPriority) |
int | getJobsPriority () |
void | setJobsPriority (int _jobsPriority) |
bool | getHasNodesPriority () |
void | setHasNodesPriority (bool _hasNodesPriority) |
bool | getHasJobsPriority () |
void | setHasJobsPriority (bool _hasJobsPriority) |
std::string | getAutoPoolIpFilter () |
void | setAutoPoolIpFilter (const std::string &_autoPoolIpFilter) |
std::string | getAutoPoolHostnameFilter () |
void | setAutoPoolHostnameFilter (const std::string &_autoPoolHostnameFilter) |
bool | containsNode (const std::string &hostName, const std::string &hostIp) |
bool | removeNode (const std::string &hostName, const std::string &hostIp) |
void | addNode (const std::string &hostName, const std::string &hostIp) |
std::vector< MPoolItem * > | getNodes () |
void | setNodes (std::vector< MPoolItem * >) |
std::vector < MClientLib::MTimeRule * > | getTimeRules () |
void | setTimeRules (std::vector< MClientLib::MTimeRule * >) |
MClientLib::MTimeRule * | addRule (MClientLib::MTimeRule) |
MPool class that holds a pool configuration Holds data related to a pool
MClientLib::MPool::MPool | ( | ) |
MClientLib::MPool::~MPool | ( | ) |
MClientLib::MPool::MPool | ( | const MPool & | src | ) |
void MClientLib::MPool::addNode | ( | const std::string & | hostName, |
const std::string & | hostIp | ||
) |
MClientLib::MTimeRule* MClientLib::MPool::addRule | ( | MClientLib::MTimeRule | ) |
bool MClientLib::MPool::containsNode | ( | const std::string & | hostName, |
const std::string & | hostIp | ||
) |
std::string MClientLib::MPool::getAutoPoolHostnameFilter | ( | ) |
std::string MClientLib::MPool::getAutoPoolIpFilter | ( | ) |
bool MClientLib::MPool::getHasJobsPriority | ( | ) |
bool MClientLib::MPool::getHasNodesPriority | ( | ) |
int MClientLib::MPool::getJobsPriority | ( | ) |
std::string MClientLib::MPool::getName | ( | ) |
std::vector<MPoolItem*> MClientLib::MPool::getNodes | ( | ) |
int MClientLib::MPool::getNodesPriority | ( | ) |
std::vector<MClientLib::MTimeRule*> MClientLib::MPool::getTimeRules | ( | ) |
bool MClientLib::MPool::removeNode | ( | const std::string & | hostName, |
const std::string & | hostIp | ||
) |
void MClientLib::MPool::setAutoPoolHostnameFilter | ( | const std::string & | _autoPoolHostnameFilter | ) |
void MClientLib::MPool::setAutoPoolIpFilter | ( | const std::string & | _autoPoolIpFilter | ) |
void MClientLib::MPool::setHasJobsPriority | ( | bool | _hasJobsPriority | ) |
void MClientLib::MPool::setHasNodesPriority | ( | bool | _hasNodesPriority | ) |
void MClientLib::MPool::setJobsPriority | ( | int | _jobsPriority | ) |
void MClientLib::MPool::setName | ( | const std::string & | _name | ) |
void MClientLib::MPool::setNodes | ( | std::vector< MPoolItem * > | ) |
void MClientLib::MPool::setNodesPriority | ( | int | _nodesPriority | ) |
void MClientLib::MPool::setTimeRules | ( | std::vector< MClientLib::MTimeRule * > | ) |