Table of Contents

Class ContextualTtl

Namespace
Polly.Caching
Assembly
Polly.dll
public class ContextualTtl : ITtlStrategy, ITtlStrategy<object>
Inheritance
ContextualTtl
Implements
Inherited Members
Extension Methods

Constructors

ContextualTtl()

public ContextualTtl()

Fields

SlidingExpirationKey

public static readonly string SlidingExpirationKey

Field Value

string

TimeSpanKey

public static readonly string TimeSpanKey

Field Value

string

Methods

GetTtl(Context, object)

public Ttl GetTtl(Context context, object result)

Parameters

context Context
result object

Returns

Ttl