API17:JDaemon
From Joomla! Documentation
(Difference between revisions)
(Bulk upload by Doxiki2) |
(Layout updates) |
||
| Line 6: | Line 6: | ||
===Defined in=== | ===Defined in=== | ||
libraries/joomla/application/cli/daemon.php | libraries/joomla/application/cli/daemon.php | ||
| + | * see source code in [[jplatform:application/cli/daemon.php|BitBucket]] | ||
===Subpackage=== | ===Subpackage=== | ||
[[Subpackage Application/11.1|Application]] | [[Subpackage Application/11.1|Application]] | ||
| Line 63: | Line 64: | ||
<source lang="php">jimport( 'joomla.application.cli.daemon' );</source> | <source lang="php">jimport( 'joomla.application.cli.daemon' );</source> | ||
===See also=== | ===See also=== | ||
| + | * JDaemon source code in [[jplatform:application/cli/daemon.php|BitBucket]] | ||
* [[JDaemon|Other versions of this class]] | * [[JDaemon|Other versions of this class]] | ||
{{SeeAlso:JDaemon}} | {{SeeAlso:JDaemon}} | ||
Revision as of 17:51, 23 April 2011
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
[Edit Descripton] Description:JDaemon
Defined in
libraries/joomla/application/cli/daemon.php
- see source code in BitBucket
Subpackage
Extends
Extended by
Methods
| 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
jimport( 'joomla.application.cli.daemon' );
See also
- JDaemon source code in BitBucket
- Other versions of this class
SeeAlso:JDaemon [Edit See Also]
Examples
<CodeExamplesForm />
