public static function checkAutoGC()
    {
        if ((Daemon::$config->autogc->value > 0)
            && (Daemon::$process->counterGC > 0)
            && (Daemon::$process->counterGC >= Daemon::$config->autogc->value)
        ) {
            Daemon::$process->counterGC = 0;
            return true;
        }
        return false;
    }
public static function checkAutoGC()
    {
        if ((Daemon::$config->autogc->value > 0)
            && (Daemon::$process->counterGC > 0)
            && (Daemon::$process->counterGC >= Daemon::$config->autogc->value)
        ) {
            Daemon::$process->counterGC = 0;
            return true;
        }
        return false;
    }
public static function checkAutoGC ( ) { if ( ( Daemon :: $ config -> autogc -> value > 0 ) && ( Daemon :: $ process -> counterGC > 0 ) && ( Daemon :: $ process -> counterGC >= Daemon :: $ config -> autogc -> value ) ) { Daemon :: $ process -> counterGC = 0 ; return true ; } return false ; }
Check if we need to run automatic garbage collector
@return bool
Check if we need to run automatic garbage collector