Page MenuHomeClusterLabs Projects
Diviner Tech Docs PhutilDaemonHandle

final class PhutilDaemonHandle
Phorge Technical Documentation (Daemons)

This class is not documented.

Methods

private function __construct()

This method is not documented.
Return
this//Implicit.//

public static function newFromConfig($config)

This method is not documented.
Parameters
array$config
Return
wild

public function setDaemonPool($daemon_pool)

This method is not documented.
Parameters
PhutilDaemonPool$daemon_pool
Return
wild

public function getDaemonPool()

This method is not documented.
Return
wild

public function getBusyEpoch()

This method is not documented.
Return
wild

public function getDaemonClass()

This method is not documented.
Return
wild

private function getProperty($key)

This method is not documented.
Parameters
$key
Return
wild

public function setCommandLineArguments($arguments)

This method is not documented.
Parameters
array$arguments
Return
wild

public function getCommandLineArguments()

This method is not documented.
Return
wild

public function getDaemonArguments()

This method is not documented.
Return
wild

public function didLaunch()

This method is not documented.
Return
wild

public function isRunning()

This method is not documented.
Return
wild

public function isHibernating()

This method is not documented.
Return
wild

public function wakeFromHibernation()

This method is not documented.
Return
wild

public function isDone()

This method is not documented.
Return
wild

public function update()

This method is not documented.
Return
wild

private function updateHeartbeatEvent()

This method is not documented.
Return
wild

private function updateHangDetection()

This method is not documented.
Return
wild

private function scheduleRestart()

This method is not documented.
Return
wild

private function generateDaemonID()

Generate a unique ID for this daemon.

Return
stringA unique daemon ID.

public function getDaemonID()

This method is not documented.
Return
wild

private function getFuture()

This method is not documented.
Return
wild

private function getPID()

This method is not documented.
Return
wild

private function getCaptureBufferSize()

This method is not documented.
Return
wild
This method is not documented.
Return
wild

public static function getWaitBeforeRestart()

This method is not documented.
Return
wild

public static function getHeartbeatEventFrequency()

This method is not documented.
Return
wild

private function getKillDelay()

This method is not documented.
Return
wild

private function getDaemonCWD()

This method is not documented.
Return
wild

private function newExecFuture()

This method is not documented.
Return
wild

private function dispatchEvent($type, $params)

Dispatch an event to event listeners.

Parameters
string$typeEvent type.
dict$paramsEvent parameters.
Return
void

private function annihilateProcessGroup()

This method is not documented.
Return
wild

private function startDaemonProcess()

This method is not documented.
Return
wild

private function didReadStdout($data)

This method is not documented.
Parameters
$data
Return
wild

public function didReceiveNotifySignal($signo)

This method is not documented.
Parameters
$signo
Return
wild

public function didReceiveReloadSignal($signo)

This method is not documented.
Parameters
$signo
Return
wild

public function didReceiveGracefulSignal($signo)

This method is not documented.
Parameters
$signo
Return
wild

public function didReceiveTerminateSignal($signo)

This method is not documented.
Parameters
$signo
Return
wild

private function logMessage($type, $message, $context)

This method is not documented.
Parameters
$type
$message
$context
Return
wild

public function didExit()

This method is not documented.
Return
wild