Contact us

Applies to: Customer's Canvas On-Premises; Design Atoms .NET 7.4

Skip to main content

Interface IReaderWriterLocker

Namespace: Aurigma.DesignAtoms.Common.Threading

Assembly: Aurigma.DesignAtoms.dll

Syntax
public interface IReaderWriterLocker

Methods​

AcquireWriteLock​

IDisposable AcquireWriteLock(string objectKey)

Parameters​

TypeNameDescription
System.StringobjectKey

Returns​

System.IDisposable

AcquireReadLock​

IDisposable AcquireReadLock(string objectKey)

Parameters​

TypeNameDescription
System.StringobjectKey

Returns​

System.IDisposable

AcquireWriteLockAsync​

Task<IDisposable> AcquireWriteLockAsync(string objectKey)

Parameters​

TypeNameDescription
System.StringobjectKey

Returns​

System.Threading.Tasks.Task<System.IDisposable>

AcquireReadLockAsync​

Task<IDisposable> AcquireReadLockAsync(string objectKey)

Parameters​

TypeNameDescription
System.StringobjectKey

Returns​

System.Threading.Tasks.Task<System.IDisposable>

Was this page helpful?