API17

JDaemon

From Joomla! Documentation

Revision as of 15:46, 20 April 2011 by Doxiki2 (talk | contribs) (Bulk upload by Doxiki2)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

[Edit Descripton] Template:Description:JDaemon

Defined in[edit]

libraries/joomla/application/cli/daemon.php

Subpackage[edit]

Application

Extends[edit]

JCli

Extended by[edit]

Methods[edit]

Method name Description
isActive Check to see if the daemon is active.
restart Restart daemon process.
start Spawn daemon process.
stop Stop daemon process.
signal Method to handle POSIX signals.
__construct Class constructor.
changeIdentity Method to change the identity of the daemon process and resources.
daemonize Method to put the application into the background.
fork This is truly where the magic happens.
gc Method to perform basic garbage collection and memory management in the sense of clearing the stat cache.
loadConfiguration Load the configuration file into the site object.
setupSignalHandlers Method to attach the signal handler to the known signals.
shutdown Method to shut down the daemon and optionally restart it.
writeProcessIdFile Method to write the process id file out to disk.

Importing[edit]

jimport( 'joomla.application.cli.daemon' );

See also[edit]

Template:SeeAlso:JDaemon [Edit See Also]

Examples[edit]

<CodeExamplesForm />