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