Show / Hide Table of Contents

    Class LocalFileDistributedCacheEntryOptions

    Represents the options for a local file distributed cache entry.

    Inheritance
    System.Object
    LocalFileDistributedCacheEntryOptions
    Namespace: Copper.Conventions.Method.Common.V1
    Assembly: Copper.Conventions.Method.Common.dll
    Syntax
    [DataContract]
    public class LocalFileDistributedCacheEntryOptions

    Properties

    View Source

    AbsoluteExpiration

    Gets or sets an absolute expiration date for the cache entry.

    Declaration
    [DataMember]
    public DateTimeOffset? AbsoluteExpiration { get; set; }
    Property Value
    Type Description
    System.Nullable<System.DateTimeOffset>

    The absolute expiration for the cache entry..

    View Source

    AbsoluteExpirationRelativeToNow

    Gets or sets an absolute expiration time, relative to now.

    Declaration
    [DataMember]
    public TimeSpan? AbsoluteExpirationRelativeToNow { get; set; }
    Property Value
    Type Description
    System.Nullable<System.TimeSpan>

    The absolute expiration time, relative to now.

    View Source

    SlidingExpiration

    Gets or sets how long a cache entry can be inactive (e.g. not accessed) before it will be removed. This will not extend the entry lifetime beyond the absolute expiration (if set).

    Declaration
    [DataMember]
    public TimeSpan? SlidingExpiration { get; set; }
    Property Value
    Type Description
    System.Nullable<System.TimeSpan>

    The sliding expiration.

    • View Source
    Back to top Generated by DocFX