Interface IDistributedLockFactory
- Namespace
- Silverback.Lock
- Assembly
- Silverback.Core.dll
Builds an IDistributedLock instance according to the provided DistributedLockSettings.
public interface IDistributedLockFactory
Methods
GetDistributedLock(DistributedLockSettings?, IServiceProvider)
Returns an IDistributedLock according to the specified settings.
IDistributedLock GetDistributedLock(DistributedLockSettings? settings, IServiceProvider serviceProvider)
Parameters
settingsDistributedLockSettingsThe settings that will be used to create the IDistributedLock.
serviceProviderIServiceProviderThe IServiceProvider that can be used to resolve additional services.