Merge lp://staging/~posulliv/libmemcached/cpp-interface into lp://staging/~tangent-org/libmemcached/trunk
Proposed by
Padraig O'Sullivan
Status: | Merged |
---|---|
Merged at revision: | not available |
Proposed branch: | lp://staging/~posulliv/libmemcached/cpp-interface |
Merge into: | lp://staging/~tangent-org/libmemcached/trunk |
Diff against target: |
157 lines 2 files modified
libmemcached/memcached.hpp (+57/-0) tests/cpp_example.cc (+21/-29) |
To merge this branch: | bzr merge lp://staging/~posulliv/libmemcached/cpp-interface |
Related bugs: | |
Related blueprints: |
Libmemcached C++ Interface
(Medium)
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Libmemcached-developers | Pending | ||
Review via email: mp+13658@code.staging.launchpad.net |
To post a comment you must log in.
Added a getStats() method to the C++ interface. I basically added the same functionality as I saw in the spymemcached java client. The interface to this getStats() method is:
getStats(map< string, map<string, string> > &stats_map);
Thus, each server will have an entry in the stats_map that will map to another std::map with the stats for that server. We could also easily add a method to simply retrieve the stats for a specific server if that would be desirable?
Also fixed 2 valgrind warnings that were popping up because I forgot to free memory in 2 locations.
-Padraig