SystemDaemon
class SystemDaemon extends SystemDaemon
Daemon to process the TranslationJob queue
Properties
| array | $cmd_params | from SystemDaemon | |
| $daemon_name | |||
| $module_name | |||
| mixed | $view | from SystemDaemon | |
| $sleep_between_process | |||
| int | $process_counter | from SystemDaemon | |
| mixed | $mod_registry | from SystemDaemon | |
| bool | $shutdown | from SystemDaemon | |
| string | $sleeping | from SystemDaemon | |
| array | $messages | from SystemDaemon | |
| protected float|int | $requestCacheClearingTime | from SystemDaemon | |
| protected int | $lastRequestCacheClearingTime | from SystemDaemon |
Methods
__construct()
Initialize Instances
bool
isShutdown()
Returns true if the daemon process is in the shutdown phase to be ended
from
SystemDaemon
process()
Process Loop
Details
at line 17
__construct()
Initialize Instances
in
SystemDaemon at line 363
__destruct()
No description
in
SystemDaemon at line 336
halt()
No description
in
SystemDaemon at line 224
bool
isShutdown()
Returns true if the daemon process is in the shutdown phase to be ended
in
SystemDaemon at line 165
void
load_module_instances(mixed $module)
No description
in
SystemDaemon at line 313
message(string $message, string $level = Logger::INFO)
Daemon message
in
SystemDaemon at line 328
onStartup()
Gets called once on daemon startup Use this place to prepare daemon
at line 35
process()
Process Loop
in
SystemDaemon at line 371
protected
registerSignalHandler()
No description
in
SystemDaemon at line 110
static
restart_all()
Restart all Daemons
in
SystemDaemon at line 386
signalHandler(int $signo, mixed $siginfo)
No description
in
SystemDaemon at line 183
start()
No description
in
SystemDaemon at line 125
static
start_all(bool $if_running_on_this_node = false)
Start all Daemons
in
SystemDaemon at line 145
static
stop_all(bool $if_running_on_this_node = false)
Stop all Daemons