Table of Contents

Namespace Medallion.Threading.Postgres

Classes

PostgresConnectionOptionsBuilder

Specifies options for connecting to and locking against a Postgres database

PostgresDistributedLock

Implements a distributed lock using Postgres advisory locks (see https://www.postgresql.org/docs/12/functions-admin.html#FUNCTIONS-ADVISORY-LOCKS)

PostgresDistributedLockHandle

Implements Medallion.Threading.IDistributedSynchronizationHandle

PostgresDistributedReaderWriterLock

Implements a distributed lock using Postgres advisory locks (see https://www.postgresql.org/docs/12/functions-admin.html#FUNCTIONS-ADVISORY-LOCKS)

PostgresDistributedReaderWriterLockHandle

Implements Medallion.Threading.IDistributedSynchronizationHandle

PostgresDistributedSynchronizationProvider

Implements Medallion.Threading.IDistributedLockProvider for PostgresDistributedLock and Medallion.Threading.IDistributedReaderWriterLockProvider for PostgresDistributedReaderWriterLock.

Structs

PostgresAdvisoryLockKey

Acts as the "name" of a distributed lock in Postgres. Consists of one 64-bit value or two 32-bit values (the spaces do not overlap). See https://www.postgresql.org/docs/12/functions-admin.html#FUNCTIONS-ADVISORY-LOCKS