public function getRedisFactory(): ?Factory
    {
        if (!$this->hasRedisFactory()) {
            $this->setRedisFactory($this->getDefaultRedisFactory());
        }
        return $this->redisFactory;
    }