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