Vunb
Vunb

Reputation: 494

Get expired value with 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!

Upvotes: 5

Views: 1369

Answers (1)

Itamar Haber
Itamar Haber

Reputation: 49942

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

Upvotes: 2

Related Questions