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 return value of statsCacheDump() in BinaryClient #78

Open
xionghuiCoder opened this issue Dec 19, 2014 · 0 comments
Open

the return value of statsCacheDump() in BinaryClient #78

xionghuiCoder opened this issue Dec 19, 2014 · 0 comments

Comments

@xionghuiCoder
Copy link

Hi, i am so confused that statsCacheDump() in BinaryClient always return an empty map event if i had set the value, here is my test case:

    SockIOPool pool = SockIOPool.getInstance();
    pool.setServers(new String[] { "xxxx:xx" });
    pool.initialize();
    MemCachedClient client = new BinaryClient();
    client.flushAll();
    client.set("test", "1");
    Map<String, Map<String, String>> dumpMap = client.statsCacheDump(1, 0);
    System.out.println(dumpMap);

the output of the test case is "{xxxx:xx={}}",
but the output of my memcached's client is "ITEM test [1 b; 1419009188 s]".
Here is the log:
2014-12-20 03 38 29

My OS is ubuntu and i am using memcached-1.4.21.tar.gz

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