X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=include%2Fprivate%2Fredis%2Fasyncredisstorage.hpp;fp=include%2Fprivate%2Fredis%2Fasyncredisstorage.hpp;h=ecd7b1cd1453c4aa5fda3fddeba6fc2ecac05146;hb=63869e10ac4d8572238989e1b582c0314da91f9c;hp=f095582a39f327b3859449709f4b09c2d9c2740c;hpb=69b0a71f5fe8825fa45ee9502a41fd8b465c44e0;p=ric-plt%2Fsdl.git diff --git a/include/private/redis/asyncredisstorage.hpp b/include/private/redis/asyncredisstorage.hpp index f095582..ecd7b1c 100644 --- a/include/private/redis/asyncredisstorage.hpp +++ b/include/private/redis/asyncredisstorage.hpp @@ -105,12 +105,16 @@ namespace shareddatalayer void findKeysAsync(const Namespace& ns, const std::string& keyPrefix, const FindKeysAck& findKeysAck) override; + void listKeys(const Namespace& ns, const std::string& pattern, const FindKeysAck& findKeysAck) override; + void removeAllAsync(const Namespace& ns, const ModifyAck& modifyAck) override; redis::DatabaseInfo& getDatabaseInfo(); std::string buildKeyPrefixSearchPattern(const Namespace& ns, const std::string& keyPrefix) const; + std::string buildNamespaceKeySearchPattern(const Namespace& ns, const std::string& pattern) const; + private: std::shared_ptr engine; std::shared_ptr dispatcher; @@ -132,6 +136,8 @@ namespace shareddatalayer void modificationCommandCallback(const std::error_code& error, const redis::Reply&, const ModifyAck&); void conditionalCommandCallback(const std::error_code& error, const redis::Reply&, const ModifyIfAck&); + + void findKeys(const std::string& ns, const std::string& keyPattern, const FindKeysAck& findKeysAck); }; AsyncRedisStorage::ErrorCode& operator++ (AsyncRedisStorage::ErrorCode& ecEnum);