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.



291
292
293
# File 'lib/redis/distributed.rb', line 291

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