class Redis
def pttl(key)
-
(Fixnum)
- remaining time to live in milliseconds
Parameters:
-
key
(String
) --
def pttl(key) synchronize do |client| client.call([:pttl, key]) end end
(Fixnum)
- remaining time to live in milliseconds
key
(String
)
--
def pttl(key) synchronize do |client| client.call([:pttl, key]) end end