case class ExecutionConfig(responseTimeout: Timeout = 10.seconds, decodeOn: commons.ExecutionContext = RunNowEC) extends Product with Serializable
Additional options for executing a RedisBatch on a RedisExecutor
- responseTimeout
Redis server response timeout. If executing a batch involves retries (e.g. because of cluster redirections) then timeout is applied independently on every retry.
- decodeOn
execution context on which Redis response to a batch will be decoded. Normally this is happening on one of the connection actor threads. This is ok for simple Redis commands but may introduce performance bottleneck for large batches with more heavy decoding. In such case it may be beneficial to delegate that work to some external executor.
- Alphabetic
- By Inheritance
- ExecutionConfig
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
ExecutionConfig(responseTimeout: Timeout = 10.seconds, decodeOn: commons.ExecutionContext = RunNowEC)
- responseTimeout
Redis server response timeout. If executing a batch involves retries (e.g. because of cluster redirections) then timeout is applied independently on every retry.
- decodeOn
execution context on which Redis response to a batch will be decoded. Normally this is happening on one of the connection actor threads. This is ok for simple Redis commands but may introduce performance bottleneck for large batches with more heavy decoding. In such case it may be beneficial to delegate that work to some external executor.
Value Members
- val decodeOn: commons.ExecutionContext
- val responseTimeout: Timeout