COLLECTABLE(3)								 1							    COLLECTABLE(3)

The Collectable class

INTRODUCTION
Represents a garbage-collectable object. Collectable objects are intended to be used by the Pool class, replacing Threaded objects as the unit of work. They provide methods to set and detect the collectability of an object. CLASS SYNOPSIS
Collectable Collectableextends Threaded Methods o public bool Collectable::isGarbage (void ) o public void Collectable::setGarbage (void ) Inherited methods o public array Threaded::chunk (integer $size, boolean $preserve) o public integer Threaded::count (void ) o public bool Threaded::extend (string $class) o public Threaded Threaded::from (Closure $run, [Closure $construct], [array $args]) o public array Threaded::getTerminationInfo (void ) o public boolean Threaded::isRunning (void ) o public boolean Threaded::isTerminated (void ) o public boolean Threaded::isWaiting (void ) o public boolean Threaded::lock (void ) o public boolean Threaded::merge (mixed $from, [bool $overwrite]) o public boolean Threaded::notify (void ) o public boolean Threaded::pop (void ) o public void Threaded::run (void ) o public mixed Threaded::shift (void ) o public mixed Threaded::synchronized (Closure $block, [mixed $...]) o public boolean Threaded::unlock (void ) o public boolean Threaded::wait ([integer $timeout]) PHP Documentation Group COLLECTABLE(3)