Polly.Caching.ContextualTtl
Defines a ttl strategy which will cache items for a TimeSpan which may be influenced by data in the execution context.
namespace Polly.Caching
{
public class ContextualTtl : ITtlStrategy, ITtlStrategy<object>
{
public static readonly string TimeSpanKey;
public static readonly string SlidingExpirationKey;
public Ttl GetTtl(Context context, object result);
public ContextualTtl();
}
}