[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

/includes/jobqueue/jobs/ -> NullJob.php (summary)

Degenerate job that does nothing. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

File Size: 76 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

NullJob:: (2 methods):
  __construct()
  run()


Class: NullJob  - X-Ref

Degenerate job that does nothing, but can optionally replace itself
in the queue and/or sleep for a brief time period. These can be used
to represent "no-op" jobs or test lock contention and performance.

__construct( $title, $params )   X-Ref

param: Title $title
param: array $params Job parameters (lives, usleep)

run()   X-Ref
No description



Generated: Fri Nov 28 14:03:12 2014 Cross-referenced by PHPXref 0.7.1