public function strlen($key) {
        try {
            $result = $this->getRedis()->strlen($key);
            if ($result !== false) {
                return $result;
            }
            throw new ImpossibleValueException();
        } catch (RedisException $ex) {
            throw new ConnectException();
        }
    }