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

Add support for time operation [DATAREDIS-206] #782

Closed
spring-projects-issues opened this issue Jul 8, 2013 · 3 comments
Closed

Add support for time operation [DATAREDIS-206] #782

spring-projects-issues opened this issue Jul 8, 2013 · 3 comments
Assignees
Labels
in: jedis Jedis driver type: enhancement A general enhancement
Milestone

Comments

@spring-projects-issues
Copy link

Yanming Zhou opened DATAREDIS-206 and commented

http://redis.io/commands/time
for get system timestamp from server


Affects: 1.0.5

Referenced from: pull request #34, and commits eeab64a, 908a9d7, be37c6d, c5a902a, c93ae5f, e7f13ee, 026b1c3, 8f57d51, f797412, e003ef6, 45ab1f8, e1d882d, e2ce24b

@spring-projects-issues
Copy link
Author

Jennifer Hickey commented

We generally don't add a method to the API unless at least half the 4 drivers we support have the command. Right now, only SRP supports it (which means you could call getNativeConnection() on SrpConnection and then call time() to work around this for now). I've filed an issue with Lettuce. As soon as they add it, we can add to API: wg/lettuce#19

@spring-projects-issues
Copy link
Author

Christoph Strobl commented

Please revise

@spring-projects-issues
Copy link
Author

Thomas Darimont commented

Merged into master.

We now support the time command for SRP, Jedis and Lettuce (emulated via evalscript). Jredis neither support the time command nor provides the necessary infrastructure to emulate the time command

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: jedis Jedis driver type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

2 participants