Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Get expired value with Jedis

Tags:

java

redis

jedis

I followed this guide Redis Key expire notification with Jedis to listen expired key. But i don't know how to get its expired value.

Is there a way to get value of the expired key ?

Please help. Thank you!

like image 247
Vunb Avatar asked Oct 30 '22 07:10

Vunb


1 Answers

No, there isn't. All keyspace notifications, expiry events included, do not provide the values of the keys.

like image 80
Itamar Haber Avatar answered Nov 13 '22 22:11

Itamar Haber