SystemDaemon
class SystemDaemon extends SystemDaemon
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 | |
mixed | $shutdown | from SystemDaemon | |
string | $sleeping | from SystemDaemon | |
array | $messages | from SystemDaemon | |
protected float|int | $requestCacheClearingTime | from SystemDaemon | |
protected int | $lastRequestCacheClearingTime | from SystemDaemon | |
xm_system_admin | $mod | Reference to System Admin |
Methods
__construct()
Initialize Instances
ensure_init()
Initalize Daemon Process and Engine
bool
isShutdown()
Returns true if the daemon process is in the shutdown phase to be ended
from
SystemDaemon
process()
Process Loop
Details
at line 37
__construct()
Initialize Instances
in
SystemDaemon at line 359
__destruct()
No description
at line 59
ensure_init()
Initalize Daemon Process and Engine
in
SystemDaemon at line 332
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 309
message(string $message, string $level = Logger::INFO)
Daemon message
in
SystemDaemon at line 324
onStartup()
Gets called once on daemon startup Use this place to prepare daemon
at line 86
process()
Process Loop
in
SystemDaemon at line 367
protected
registerSignalHandler()
No description
in
SystemDaemon at line 110
static
restart_all()
Restart all Daemons
in
SystemDaemon at line 381
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