Configuration options for the redis queue
Inheritance: IReadonly, ISetReadonly
コード例 #1
0
 /// <inheritdoc />
 /// <summary>
 /// Initializes a new instance of the <see cref="RedisDelayedProcessingMonitor"/> class.
 /// </summary>
 /// <param name="action">The action.</param>
 /// <param name="log">The log.</param>
 /// <param name="options">The options.</param>
 public RedisDelayedProcessingMonitor(IDelayedProcessingAction action, ILogger log, RedisQueueTransportOptions options)
     : base(Guard.NotNull(() => action, action).Run, options.DelayedProcessingConfiguration, log)
 {
 }
コード例 #2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="RedisDelayedProcessingMonitor"/> class.
        /// </summary>
        /// <param name="action">The action.</param>
        /// <param name="log">The log.</param>
        /// <param name="options">The options.</param>
        public RedisDelayedProcessingMonitor(IDelayedProcessingAction action, ILogFactory log, RedisQueueTransportOptions options)
            : base(Guard.NotNull(() => action, action).Run, options.DelayedProcessingConfiguration, log)
        {

        }