if i have several servers, maybe servers’s current system time are different. how can i all use redisson to get current time?
I’ve read the RedissonClient api, but I haven’t found the way to get this yet
if i have several servers, maybe servers’s current system time are different. how can i all use redisson to get current time?
I’ve read the RedissonClient api, but I haven’t found the way to get this yet
2
Answers
You can do it like this:
Assuming you have a RestTemplate bean in your app, you can try this: