Skip to content

The flush_all method is working on the wrong way #80

@thienquach

Description

@thienquach

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions