AppserverIo\Appserver\PersistenceContainer\StandardGarbageCollector::iterate PHP 메소드

iterate() 공개 메소드

This is invoked on every iteration of the daemons while() loop.
public iterate ( integer $timeout ) : void
$timeout integer The timeout before the daemon wakes up
리턴 void
    public function iterate($timeout)
    {
        // call parent method and sleep for the default timeout
        parent::iterate($timeout);
        // collect the SFSBs that timed out
        $this->collectGarbage();
    }