CachingProfile.LockManager Property
|
Gets or sets the lock manager used to synchronize the execution of methods
that are cached with the current profile. The default lock manager is
NullLockManager,
which allows for concurrent execution of all methods. An alternative implementation is
LocalLockManager,
which prevents concurrent execution of the same method with the same parameters, in the current process (or AppDomain).
Namespace:
PostSharp.Patterns.Caching
Assembly:
PostSharp.Patterns.Caching (in PostSharp.Patterns.Caching.dll) Version: 2023.0.3.0 (2023.0.3.0)
Syntaxpublic ILockManager LockManager { get; set; }
Property Value
Type:
ILockManager
See Also