SystemDaemon
abstract class SystemDaemon
Class SystemDaemon
Properties
array | $cmd_params | ||
string | $daemon_name | ||
string | $module_name | ||
mixed | $view | ||
int | $sleep_between_process | ||
int | $process_counter | ||
mixed | $mod_registry | ||
mixed | $shutdown | ||
string | $sleeping | ||
array | $messages | ||
protected float|int | $requestCacheClearingTime | ||
protected int | $lastRequestCacheClearingTime |
Methods
__construct()
put your comment there.
__destruct()
No description
halt()
No description
bool
isShutdown()
Returns true if the daemon process is in the shutdown phase to be ended
void
load_module_instances(mixed $module)
No description
message(string $message, string $level = Logger::INFO)
Daemon message
onStartup()
Gets called once on daemon startup Use this place to prepare daemon
process()
No description
registerSignalHandler()
No description
static
restart_all()
Restart all Daemons
signalHandler(int $signo, mixed $siginfo)
No description
start()
No description
static
start_all(bool $if_running_on_this_node = false)
Start all Daemons
static
stop_all(bool $if_running_on_this_node = false)
Stop all Daemons
Details
at line 102
__construct()
put your comment there.
..
at line 359
__destruct()
No description
at line 332
halt()
No description
at line 224
bool
isShutdown()
Returns true if the daemon process is in the shutdown phase to be ended
at line 165
void
load_module_instances(mixed $module)
No description
at line 309
message(string $message, string $level = Logger::INFO)
Daemon message
at line 324
onStartup()
Gets called once on daemon startup Use this place to prepare daemon
at line 301
abstract
process()
No description
at line 367
protected
registerSignalHandler()
No description
at line 110
static
restart_all()
Restart all Daemons
at line 381
signalHandler(int $signo, mixed $siginfo)
No description
at line 183
start()
No description
at line 125
static
start_all(bool $if_running_on_this_node = false)
Start all Daemons
at line 145
static
stop_all(bool $if_running_on_this_node = false)
Stop all Daemons