public RedisDistributedCacheLock(string key, RedisDistributedLockProviderOptions options) { this.connection = options.Connection; this.lockKey = "LOCK_" + key; this.timeout = options.Timeout; this.retryDelay = options.RetryDelay; this.exceptionNotifier = options.ExceptionNotifier; }
public RedisDistributedLockProvider(RedisDistributedLockProviderOptions options) { this.options = options; }