protected function getPoolSize()
    {
        $poolSize = self::DEFAULT_POOL_SIZE;
        if($this->hasOption(self::POOL_SIZE_OPT)){
            $poolSize = (int)$this->getOption(self::POOL_SIZE_OPT);
        }
        return $poolSize;
    }