Class ReaderWriterLockStrategy
Inheritance
ReaderWriterLockStrategy
Assembly: DotNetNuke.dll
Syntax
public class ReaderWriterLockStrategy : ILockStrategy, IDisposable
Constructors
ReaderWriterLockStrategy()
Declaration
public ReaderWriterLockStrategy()
ReaderWriterLockStrategy(SerializationInfo, StreamingContext)
Declaration
public ReaderWriterLockStrategy(SerializationInfo info, StreamingContext context)
Parameters
ReaderWriterLockStrategy(LockRecursionPolicy)
Declaration
public ReaderWriterLockStrategy(LockRecursionPolicy recursionPolicy)
Parameters
Properties
SupportsConcurrentReads
Declaration
public bool SupportsConcurrentReads { get; }
Property Value
ThreadCanRead
Declaration
public bool ThreadCanRead { get; }
Property Value
ThreadCanWrite
Declaration
public bool ThreadCanWrite { get; }
Property Value
Methods
Dispose()
Declaration
Dispose(bool)
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type |
Name |
Description |
bool |
disposing |
|
~ReaderWriterLockStrategy()
Declaration
protected ~ReaderWriterLockStrategy()
GetObjectData(SerializationInfo, StreamingContext)
Declaration
public void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
GetReadLock()
Declaration
public ISharedCollectionLock GetReadLock()
Returns
GetReadLock(TimeSpan)
Declaration
public ISharedCollectionLock GetReadLock(TimeSpan timeout)
Parameters
Returns
GetWriteLock()
Declaration
public ISharedCollectionLock GetWriteLock()
Returns
GetWriteLock(TimeSpan)
Declaration
public ISharedCollectionLock GetWriteLock(TimeSpan timeout)
Parameters
Returns
Implements
Extension Methods