PostSharp6.1/API Reference/Post­Sharp.​Patterns.​Caching.​Locking Namespace/IAcquire­Lock­Timeout­Strategy Interface

IAcquireLockTimeoutStrategy Interface

Represents the behavior when the caching aspect cannot acquire a lock because of a timeout.

Namespace:  PostSharp.Patterns.Caching.Locking
Assembly:  PostSharp.Patterns.Caching (in PostSharp.Patterns.Caching.dll) Version: 6.1.23.0 (6.1.23.0)
Syntax
C#
public interface IAcquireLockTimeoutStrategy

The IAcquireLockTimeoutStrategy type exposes the following members.

Methods
  NameDescription
Public methodOnTimeout
Method invoked when the caching aspect cannot acquire a lock because of a timeout. If this method returns without an exception, the caching aspect will invoke the cached method without acquiring the lock.
See Also