Search Results for

    Show / Hide Table of Contents

    Class MicroCacheOptions

    Options for Micro cache

    Inheritance
    System.Object
    MicroCacheOptions
    Namespace: ImageVault.Common.Configuration
    Assembly: ImageVault.Common.dll
    Syntax
    public class MicroCacheOptions : Object

    Constructors

    MicroCacheOptions()

    Declaration
    public MicroCacheOptions()

    Properties

    CacheDuration

    The number of seconds that the cache should be valid, defaults to 10 sec.

    Declaration
    public int CacheDuration { get; set; }
    Property Value
    Type Description
    System.Int32

    CleanupThreshold

    The threshold limit when the items should be cleared to not be an ever growing pain in the 4$$.

    Declaration
    public int CleanupThreshold { get; set; }
    Property Value
    Type Description
    System.Int32
    Remarks

    Default value is 10000

    Enabled

    Should Micro cache be enabled or not (defaults to true)

    Declaration
    public bool Enabled { get; set; }
    Property Value
    Type Description
    System.Boolean

    Extension Methods

    EnumExtensions.GetNames<TEnum>(TEnum)
    In This Article
    Back to top (c) Meriworks 2002-2022