Defines a TryAsync(OperationKind, int, Exception?, ref object?, CancellationToken) method that determines if a Redis transaction or operation should be retried if it fails. The default implementation is RetryPolicy.
Namespace: Metalama.Patterns.Caching.Resilience
Assembly: Metalama.Patterns.Caching.Backend.dll
Syntax
public interface IRetryPolicyMethods
| Name | Description |
|---|---|
| TryAsync(OperationKind, int, Exception?, ref object?, CancellationToken) | Determines if a Redis transaction should be tried, and throws a CachingException if it cannot. |