Remove vestigial constructor, fix typos, clean up code

This commit is contained in:
Joseph Henry 2020-05-26 17:57:37 -07:00
parent 7ed960297b
commit 7266550c22
5 changed files with 36 additions and 40 deletions

View file

@ -36,7 +36,7 @@ public:
BondController(const RuntimeEnvironment *renv);
/**
* @return The minimum interval required to poll the active bonds to fulfill all active monitoring timing requirements.
* @return Whether this slave is permitted to become a member of a bond.
*/
bool slaveAllowed(std::string &policyAlias, SharedPtr<Slave> slave);
@ -46,7 +46,7 @@ public:
int minReqPathMonitorInterval() { return _minReqPathMonitorInterval; }
/**
* @return The minimum interval required to poll the active bonds to fulfill all active monitoring timing requirements.
* @param minReqPathMonitorInterval The minimum interval required to poll the active bonds to fulfill all active monitoring timing requirements.
*/
static void setMinReqPathMonitorInterval(int minReqPathMonitorInterval) { _minReqPathMonitorInterval = minReqPathMonitorInterval; }