public function __get($name)Inherited
$name |
wild |
public function __set($name, $value)Inherited
$name | ||
$value |
wild |
public function current()Inherited
wild |
public function key()Inherited
wild |
public function next()Inherited
wild |
public function rewind()Inherited
wild |
public function valid()Inherited
wild |
private function throwOnAttemptedIteration()Inherited
wild |
public function getPhobjectClassConstant($key, $byte_limit)Inherited
Read the value of a class constant.
This is the same as just typing self::CONSTANTNAME, but throws a more useful message if the constant is not defined and allows the constant to be limited to a maximum length.
string | $key | Name of the constant. |
int|null | $byte_limit | Maximum number of bytes permitted in the value. |
string | Value of the constant. |
public function shouldReloadDaemons()
This method is used to indicate to the overseer that daemons should reload.
bool | True if the daemons should reload, otherwise false. |
public function shouldWakePool($pool)Inherited
Should a hibernating daemon pool be awoken immediately?
PhutilDaemonPool | $pool |
bool | True to awaken the pool immediately. |
public static function getAllModules()Inherited
wild |
protected function shouldThrottle($name, $duration)Inherited
Throttle checks from executing too often.
If you throttle a check like this, it will only execute once every 2.5 seconds:
if ($this->shouldThrottle('some.check', 2.5)) { return; }
string | $name | Throttle key. |
float | $duration | Duration in seconds. |
bool | True to throttle the check. |
private function loadConfigVersion()
Calculate a version number for the current Phabricator configuration.
The version number has no real meaning and does not provide any real indication of whether a configuration entry has been changed. The config version is intended to be a rough indicator that "something has changed", which indicates to the overseer that the daemons should be reloaded.
int |
private function updateConfigVersion()
Check and update the configuration version.
bool | True if the daemons should restart, otherwise false. |