Code Review
/
ric-plt
/
sdl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
New listKeys() API to support glob-style key search patterns
[ric-plt/sdl.git]
/
src
/
asyncstorageimpl.cpp
diff --git
a/src/asyncstorageimpl.cpp
b/src/asyncstorageimpl.cpp
index
a018c51
..
0d6d683
100644
(file)
--- a/
src/asyncstorageimpl.cpp
+++ b/
src/asyncstorageimpl.cpp
@@
-241,6
+241,13
@@
void AsyncStorageImpl::findKeysAsync(const Namespace& ns,
getOperationHandler(ns).findKeysAsync(ns, keyPrefix, findKeysAck);
}
getOperationHandler(ns).findKeysAsync(ns, keyPrefix, findKeysAck);
}
+void AsyncStorageImpl::listKeys(const Namespace& ns,
+ const std::string& pattern,
+ const FindKeysAck& findKeysAck)
+{
+ getOperationHandler(ns).listKeys(ns, pattern, findKeysAck);
+}
+
void AsyncStorageImpl::removeAllAsync(const Namespace& ns,
const ModifyAck& modifyAck)
{
void AsyncStorageImpl::removeAllAsync(const Namespace& ns,
const ModifyAck& modifyAck)
{