Class AbsoluteTtl
Defines a ttl strategy which will cache items until the specified point-in-time.
public class AbsoluteTtl : NonSlidingTtl, ITtlStrategy
- Inheritance
-
AbsoluteTtl
- Implements
- Inherited Members
Constructors
AbsoluteTtl(DateTimeOffset)
Initializes a new instance of the AbsoluteTtl class.
public AbsoluteTtl(DateTimeOffset absoluteExpirationTime)
Parameters
absoluteExpirationTime
DateTimeOffsetThe UTC point in time until which to consider the cache item valid.