New listKeys() API to support glob-style key search patterns
Added new listKeys() API's to list all keys matching search glob-style
pattern under the namespace.
Deprecated old findKeys() and findKeysAsync() API's. Deprecated API's
will be removed later releases.
Release version 1.5.0
Issue-Id: RIC-110
Change-Id: Ia411a2e6fa45305580810d88e7434e5460ac3114
Signed-off-by: Petri Ovaska <petri.ovaska@nokia.com>
diff --git a/include/private/syncstorageimpl.hpp b/include/private/syncstorageimpl.hpp
index b0f5fb5..f67009d 100644
--- a/include/private/syncstorageimpl.hpp
+++ b/include/private/syncstorageimpl.hpp
@@ -55,6 +55,8 @@
virtual Keys findKeys(const Namespace& ns, const std::string& keyPrefix) override;
+ virtual Keys listKeys(const Namespace& ns, const std::string& pattern) override;
+
virtual void removeAll(const Namespace& ns) override;
virtual void setOperationTimeout(const std::chrono::steady_clock::duration& timeout) override;