private function __construct()
private function __construct()
Return
this | //Implicit.// |
public static function newFromConfig($config)
public static function newFromConfig($config)
Parameters
array | $config |
Return
wild |
public function setDaemonPool($daemon_pool)
public function setDaemonPool($daemon_pool)
Parameters
PhutilDaemonPool | $daemon_pool |
Return
wild |
public function getDaemonPool()
public function getDaemonPool()
Return
wild |
public function getBusyEpoch()
public function getBusyEpoch()
Return
wild |
public function getDaemonClass()
public function getDaemonClass()
Return
wild |
private function getProperty($key)
private function getProperty($key)
Parameters
$key |
Return
wild |
public function setCommandLineArguments($arguments)
public function setCommandLineArguments($arguments)
Parameters
array | $arguments |
Return
wild |
public function getCommandLineArguments()
public function getCommandLineArguments()
Return
wild |
public function getDaemonArguments()
public function getDaemonArguments()
Return
wild |
public function didLaunch()
public function didLaunch()
Return
wild |
public function isRunning()
public function isRunning()
Return
wild |
public function isHibernating()
public function isHibernating()
Return
wild |
public function wakeFromHibernation()
public function wakeFromHibernation()
Return
wild |
public function isDone()
public function isDone()
Return
wild |
public function update()
public function update()
Return
wild |
private function updateHeartbeatEvent()
private function updateHeartbeatEvent()
Return
wild |
private function updateHangDetection()
private function updateHangDetection()
Return
wild |
private function scheduleRestart()
private function scheduleRestart()
Return
wild |
private function generateDaemonID()
private function generateDaemonID()
Generate a unique ID for this daemon.
Return
string | A unique daemon ID. |
public function getDaemonID()
public function getDaemonID()
Return
wild |
private function getFuture()
private function getFuture()
Return
wild |
private function getPID()
private function getPID()
Return
wild |
private function getCaptureBufferSize()
private function getCaptureBufferSize()
Return
wild |
private function getRequiredHeartbeatFrequency()
private function getRequiredHeartbeatFrequency()
Return
wild |
public static function getWaitBeforeRestart()
public static function getWaitBeforeRestart()
Return
wild |
public static function getHeartbeatEventFrequency()
public static function getHeartbeatEventFrequency()
Return
wild |
private function getKillDelay()
private function getKillDelay()
Return
wild |
private function getDaemonCWD()
private function getDaemonCWD()
Return
wild |
private function newExecFuture()
private function newExecFuture()
Return
wild |
private function dispatchEvent($type, $params)
private function dispatchEvent($type, $params)
Dispatch an event to event listeners.
Parameters
string | $type | Event type. |
dict | $params | Event parameters. |
Return
void |
private function annihilateProcessGroup()
private function annihilateProcessGroup()
Return
wild |
private function startDaemonProcess()
private function startDaemonProcess()
Return
wild |
private function didReadStdout($data)
private function didReadStdout($data)
Parameters
$data |
Return
wild |
public function didReceiveNotifySignal($signo)
public function didReceiveNotifySignal($signo)
Parameters
$signo |
Return
wild |
public function didReceiveReloadSignal($signo)
public function didReceiveReloadSignal($signo)
Parameters
$signo |
Return
wild |
public function didReceiveGracefulSignal($signo)
public function didReceiveGracefulSignal($signo)
Parameters
$signo |
Return
wild |
public function didReceiveTerminateSignal($signo)
public function didReceiveTerminateSignal($signo)
Parameters
$signo |
Return
wild |
private function logMessage($type, $message, $context)
private function logMessage($type, $message, $context)
Parameters
$type | ||
$message | ||
$context |
Return
wild |
public function didExit()
public function didExit()
Return
wild |