* Class to handle enqueueing and running of background jobs
*
* @ingroup JobQueue
- * @since 1.20
+ * @since 1.21
*/
abstract class JobQueue {
protected $wiki; // string; wiki ID
}
/**
- * @return bool Quickly check if the queue is empty
+ * Quickly check if the queue is empty.
+ * Queue classes should use caching if they are any slower without memcached.
+ *
+ * @return bool
*/
final public function isEmpty() {
wfProfileIn( __METHOD__ );