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

The flush_all method is working on the wrong way #80

Open
thienquach opened this issue Jan 7, 2015 · 0 comments
Open

The flush_all method is working on the wrong way #80

thienquach opened this issue Jan 7, 2015 · 0 comments

Comments

@thienquach
Copy link

I have tried several times and found that the action of flushAll method is difference from the flush_all telnet Memcached command:

//Add() some values
System.out.println("Add foo: " + mcClient.add("foo", "This is foo value"));

//Get() values
System.out.println("Get foo: " + mcClient.get("foo"));

System.out.println("Flush all key in cached: " + mcClient.flushAll());

the flushAll() method wipe out the cached while the flush_all command only set all items of the cache to invalidate state.

Is it a bug? or I just used it wrong way?

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

No branches or pull requests

1 participant