Class RelativeTtl
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
TimeSpanThe timespan for which to consider the cache item valid.