Method: Redis::Distributed#psetex

Defined in:
lib/redis/distributed.rb

#psetex(key, ttl, value) ⇒ Object

Set the time to live in milliseconds of a key.



301
302
303
# File 'lib/redis/distributed.rb', line 301

def psetex(key, ttl, value)
  node_for(key).psetex(key, ttl, value)
end