Class RedisLockHandlerOptions
- Namespace
- Quartz
- Assembly
- Quartz.Extensions.Redis.dll
Options for configuring the Redis-based lock handler.
public sealed class RedisLockHandlerOptions
- Inheritance
-
RedisLockHandlerOptions
- Inherited Members
Properties
KeyPrefix
Gets or sets the prefix for Redis lock keys.
public string? KeyPrefix { get; set; }
Property Value
Remarks
When not set, defaults to "quartz:lock:".
LockRetryInterval
Gets or sets the polling interval between SET NX retry attempts.
public TimeSpan? LockRetryInterval { get; set; }
Property Value
Remarks
When not set, defaults to 100 milliseconds.
LockTimeToLive
Gets or sets the lock time-to-live.
public TimeSpan? LockTimeToLive { get; set; }
Property Value
Remarks
When not set, defaults to 30 seconds.
RedisConfiguration
Gets or sets the StackExchange.Redis configuration string.
public string? RedisConfiguration { get; set; }
Property Value
Remarks
When not set, defaults to "localhost:6379".