OBJECT IDLETIME

OBJECT IDLETIME

OBJECT IDLETIME key
Available since
2.2.3
Time complexity
O(1)
ACL categories
@keyspace, @read, @slow

This command returns the time in seconds since the last access to the value stored at <key>.

The command is only available when the maxmemory-policy configuration directive is not set to one of the LFU policies.

Redict logo courtesy of @janWilejan, CC-BY-SA-4.0. Download SVG ⤑

Portions of this website courtesy of Salvatore Sanfilippo, CC-BY-SA-4.0.