Communicating With the Overseer
Communicating With the Overseer
No methods for this task.
Autoscaling Daemon Pools
Autoscaling Daemon Pools
- protected function willBeginWork() — Prepare to become busy. This may autoscale the pool up.
- protected function willBeginIdle() — Prepare to idle. This may autoscale the pool down.
Other Methods
Other Methods
- final public function setVerbose($verbose)
- final public function getVerbose()
- final public function setScaledownDuration($scaledown_duration)
- final public function getScaledownDuration()
- final public function __construct($argv)
- final public function __destruct()
- final public function stillWorking()
- final public function shouldExit()
- final protected function shouldHibernate($duration)
- final protected function sleep($duration)
- protected function willSleep($duration)
- public static function onTermSignal($signo)
- final protected function getArgv()
- final public function execute()
- protected function run()
- final public function setTraceMemory()
- final public function getTraceMemory()
- final public function setTraceMode()
- final public function getTraceMode()
- final public function onGracefulSignal($signo)
- final public function onNotifySignal($signo)
- protected function onNotify($signo)
- protected function willRun()
- protected function didSetTraceMode()
- final protected function log($message)
- private static function didCatchSignal($signo)
- private function beginStdoutCapture()
- private function endStdoutCapture()
- public function didReceiveStdout($data)
- private function encodeOverseerMessage($type, $data)
- private function emitOverseerMessage($type, $data)
- public static function errorListener($event, $value, $metadata)
- protected function getIdleDuration()
- public function getViewer()
- public static function sudoCommandAsDaemonUser($command) — Format a command so it executes as the daemon user, if a daemon user is defined. This wraps the provided command in `sudo -u ...`, roughly.