public function scan($count = 50, $min = 0, $max = 0, $rate = 0)
    {
        $iterator = new QScanIterator($this->stream, $this->log);
        $iterator->setCount($count)
            ->setMin($min)
            ->setMax($max)
            ->setRate($rate);

        return $iterator;
    }