Functions called by worker libraries to indicate status, etc
This is the code documentation for the SproutCMS project
Search documentation |
class WorkerFunctions called by worker libraries to indicate status, etc
Variables
Functions
public exceptionHandlervoid Worker::exceptionHandler ( mixed $exception [, mixed $message [, mixed $file [, mixed $line ]]] ); Exception and error handling for worker jobs public failurevoid Worker::failure ( [ string $message ] ); Report that a worker job failed. Terminates the script. public messagevoid Worker::message ( string $message ); Save and output log message for the currently running worker job public metricvoid Worker::metric ( int $num , int $value ); Set a metric public shutdownvoid Worker::shutdown ( ); Shutdown function, for catching fatal errors public startunknown Worker::start ( mixed $job_id ); Called just before the worker thread is started. public successvoid Worker::success ( ); Report the successful completion of the worker job. Terminates the script. |
| Powered by Pelzini, version 0.9.0 |
Documentation is made available under the
GNU Free Documentation License 1.2. Generated: Tuesday, 15th September, 2026 at 10:26 am |
|