AppserverIo\Appserver\MessageQueue\MessageQueue::cleanUp PHP Метод

cleanUp() публичный Метод

This method will be invoked, after the while() loop has been finished and can be used to implement clean up functionality.
public cleanUp ( ) : void
Результат void
    public function cleanUp()
    {
        // create a separate queue for each priority
        foreach (PriorityKeys::getAll() as $priorityKey) {
            $this->workers[$this->uniqueWorkerName($priorityKey)]->stop();
        }
    }