Executes a RedisOp, i.e.
Executes a RedisOp, i.e. a sequence of RedisBatches where each batch may be created based on a result of
previous batch and may use WATCH
and UNWATCH
commands for the purpose of performing transactions with optimistic
locking. Redis client implementations (e.g. RedisNodeClient) implement execution of RedisOp by
reserving a single connection so that entire RedisOp is executed on that single connection without any
other concurrent commands executing in between. This is necessary for WATCH
and UNWATCH
commands to
work as expected.
Base trait for Redis clients with ability to execute RedisOps.