Table of Contents

Class RelativeTtl

Namespace
Polly.Caching
Assembly
Polly.dll

Defines a ttl strategy which will cache items until the specified point-in-time.

public class RelativeTtl : NonSlidingTtl, ITtlStrategy
Inheritance
RelativeTtl
Implements
Inherited Members

Constructors

RelativeTtl(TimeSpan)

Initializes a new instance of the RelativeTtl class.

public RelativeTtl(TimeSpan ttl)

Parameters

ttl TimeSpan

The timespan for which to consider the cache item valid.