Method: Redis#ttl. Defined in: lib/redis.rb. permalink #ttl(key) ⇒ Fixnum. Get the time to live for a key. Parameters: key (String). Returns: (Fixnum) —.
確定! 回上一頁