ISettingsUnitLockingStrategy - интерфейс

A strategy for managing read and write locks for a settings units and their fragments. Incorrect use of the methods in this interface may lead to "hanging" locks — use with caution.

Definition

Пространство имён: Tessa.SettingsUnits
Сборка: Tessa (в Tessa.dll) Версия: 4.2.0+ffad8363f63902f18b3b3f4cfa533a14b2fb19a6
C#
public interface ISettingsUnitLockingStrategy

Методы

InitializeInLockAsync Performs initialization operations within an acquired lock to ensure atomicity of the initialization process.
ObtainReaderLockAsync Acquires a read lock for the settings unit. Returns a value indicating whether the lock was successfully acquired.
ObtainWriterLockAsync Acquires a write lock for the settings unit. Returns a value indicating whether the lock was successfully acquired.
ReleaseReaderLockAsync Releases the read lock for the settings unit.
ReleaseWriterLockAsync Releases the write lock for the settings unit.

См. также