summaryrefslogtreecommitdiffstats
path: root/iredis/data/commands/object-idletime.md
diff options
context:
space:
mode:
Diffstat (limited to 'iredis/data/commands/object-idletime.md')
-rw-r--r--iredis/data/commands/object-idletime.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/iredis/data/commands/object-idletime.md b/iredis/data/commands/object-idletime.md
new file mode 100644
index 0000000..2a89641
--- /dev/null
+++ b/iredis/data/commands/object-idletime.md
@@ -0,0 +1,9 @@
+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.
+
+@return
+
+@integer-reply
+
+The idle time in seconds. \ No newline at end of file