MediaWiki  REL1_24
PoolCounter_Stub Class Reference
Inheritance diagram for PoolCounter_Stub:
Collaboration diagram for PoolCounter_Stub:

List of all members.

Public Member Functions

 __construct ()
 acquireForAnyone ()
 I want to do this task, but if anyone else does it instead, it's also fine for me.
 acquireForMe ()
 I want to do this task and I need to do it myself.
 release ()
 I have successfully finished my task.

Detailed Description

Definition at line 151 of file PoolCounter.php.


Constructor & Destructor Documentation

Definition at line 154 of file PoolCounter.php.


Member Function Documentation

I want to do this task, but if anyone else does it instead, it's also fine for me.

I will read its cached data.

Returns:
Status Value is one of Locked/Done/Error

Reimplemented from PoolCounter.

Definition at line 162 of file PoolCounter.php.

References PoolCounter\LOCKED, and Status\newGood().

I want to do this task and I need to do it myself.

Returns:
Status Value is one of Locked/Error

Reimplemented from PoolCounter.

Definition at line 158 of file PoolCounter.php.

I have successfully finished my task.

Lets another one grab the lock, and returns the workers waiting on acquireForAnyone()

Returns:
Status Value is one of Released/NotLocked/Error

Reimplemented from PoolCounter.

Definition at line 166 of file PoolCounter.php.

References PoolCounter\LOCKED, and Status\newGood().


The documentation for this class was generated from the following file: