Show / Hide Table of Contents

Class ExclusiveLockStrategy

Inheritance
object
ExclusiveLockStrategy
Implements
ILockStrategy
IDisposable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DotNetNuke.Collections.Internal
Assembly: DotNetNuke.dll
Syntax
public class ExclusiveLockStrategy : ILockStrategy, IDisposable

Constructors

ExclusiveLockStrategy()

Declaration
public ExclusiveLockStrategy()

Properties

SupportsConcurrentReads

Declaration
public bool SupportsConcurrentReads { get; }
Property Value
Type Description
bool

ThreadCanRead

Declaration
public bool ThreadCanRead { get; }
Property Value
Type Description
bool

ThreadCanWrite

Declaration
public bool ThreadCanWrite { get; }
Property Value
Type Description
bool

Methods

Dispose()

Declaration
public void Dispose()

Exit()

Declaration
public void Exit()

GetReadLock()

Declaration
public ISharedCollectionLock GetReadLock()
Returns
Type Description
ISharedCollectionLock

GetReadLock(TimeSpan)

Declaration
public ISharedCollectionLock GetReadLock(TimeSpan timeout)
Parameters
Type Name Description
TimeSpan timeout
Returns
Type Description
ISharedCollectionLock

GetWriteLock()

Declaration
public ISharedCollectionLock GetWriteLock()
Returns
Type Description
ISharedCollectionLock

GetWriteLock(TimeSpan)

Declaration
public ISharedCollectionLock GetWriteLock(TimeSpan timeout)
Parameters
Type Name Description
TimeSpan timeout
Returns
Type Description
ISharedCollectionLock

Implements

ILockStrategy
IDisposable

Extension Methods

JsonExtensionsWeb.ToJson(object)
Back to top by the community, for the community... #DNNCMS