Method: Redis::Distributed#exec
- Defined in:
- lib/redis/distributed.rb
#exec ⇒ Object
Execute all commands issued after MULTI.
1000 1001 1002 1003 1004 1005 1006 |
# File 'lib/redis/distributed.rb', line 1000 def exec raise CannotDistribute, :exec unless @watch_key result = node_for(@watch_key).exec @watch_key = nil result end |