Page MenuHomePhorge
Diviner Tech Docs PhutilDaemonHandle

final class PhutilDaemonHandle
Phorge Technical Documentation (Daemons)

This class is not documented.

Methods

public function __get($name)
Inherited

This method is not documented.
Parameters
$name
Return
wild

public function __set($name, $value)
Inherited

This method is not documented.
Parameters
$name
$value
Return
wild

public function current()
Inherited

This method is not documented.
Return
wild

public function key()
Inherited

This method is not documented.
Return
wild

public function next()
Inherited

This method is not documented.
Return
wild

public function rewind()
Inherited

This method is not documented.
Return
wild

public function valid()
Inherited

This method is not documented.
Return
wild

private function throwOnAttemptedIteration()
Inherited

This method is not documented.
Return
wild

public function getPhobjectClassConstant($key, $byte_limit)
Inherited

Phobject

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.

Parameters
string$keyName of the constant.
int|null$byte_limitMaximum number of bytes permitted in the value.
Return
stringValue of the constant.

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