Table of Contents

Class PostgreSqlAdvisoryLockSettingsBuilder

Namespace
Silverback.Lock
Assembly
Silverback.Storage.PostgreSql.dll
public class PostgreSqlAdvisoryLockSettingsBuilder : IDistributedLockSettingsImplementationBuilder
Inheritance
PostgreSqlAdvisoryLockSettingsBuilder
Implements
Inherited Members

Constructors

PostgreSqlAdvisoryLockSettingsBuilder(string, string)

Initializes a new instance of the PostgreSqlAdvisoryLockSettingsBuilder class.

public PostgreSqlAdvisoryLockSettingsBuilder(string lockName, string connectionString)

Parameters

lockName string

The name of the lock.

connectionString string

The connection string to the PostgreSql database.

Methods

Build()

Builds the settings instance.

public DistributedLockSettings Build()

Returns

DistributedLockSettings

The DistributedLockSettings.