PostSharpAPI ReferencePost­Sharp.​Patterns.​Caching.​LockingIAcquire­Lock­Timeout­Strategy
Open sandboxFocus

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.dll
Syntax
public interface IAcquireLockTimeoutStrategy

Methods

Name Description
OnTimeout(String)

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.