Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support the STATS RESET command #17

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

CloudNinja42
Copy link

The server responds to "stats reset" with "RESET". The current implementation of StatsOperationImpl doesn't support the server returning "RESET".

@CloudNinja42
Copy link
Author

A deleteStats method can also be implemented on MemcachedClient. Currently I clear the Memcached stats as follows:

private static void deleteStats() throws Exception {
        getMemcachedClient().getStats("reset");
    }

Ie no stats are really returned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants