Метод |
Описание |
|
collect ( callable $function ) : void |
Collects finished objects |
|
collector ( Collectable $collectable ) |
|
|
getStacked ( ) : integer |
Returns the number of threaded tasks waiting to be executed by the referenced Worker |
|
isShutdown ( ) : boolean |
Tell if the referenced Worker has been shutdown |
|
shutdown ( ) : boolean |
Shuts down the Worker after executing all the threaded tasks previously stacked |
|
stack ( Collectable &$work ) : integer |
Appends the referenced object to the stack of the referenced Worker |
|
unstack ( ) : integer |
Removes the first item from the stack |
|