# File lib/redis.rb, line 854 def setex(key, ttl, value) synchronize do @client.call [:setex, key, ttl, value] end end