Is there any getstats method on the. Net client? I need to get the expiration time of keys.
You should be able to use this function:
public ServerStats Stats(string type)
And you can pass in the following for the the type value:
"key key_name vbid"
So for example:
Stats("key mykey 10");
Thanks for the info. I have 2 questions. Where can i find more info for ServerStats and what is the 3rd parameter (10)?
The third parameter is the vbucket number. I am not sure what the best way to get this is, but I will email someone who can add a response here.
© 2013 COUCHBASE All rights reserved.