Show / Hide Table of Contents

    Class AuthorizationCacheElement

    Represents a configuration element containing an user's or node's authorization cache configuration.

    Inheritance
    Object
    AuthorizationCacheElement
    Namespace: Nevatech.Vsb.Repository.Configuration
    Assembly: Nevatech.Vsb.Repository.dll
    Syntax
    public sealed class AuthorizationCacheElement : ConfigurationElement

    Constructors

    AuthorizationCacheElement()

    Declaration
    public AuthorizationCacheElement()

    Fields

    ExpirationIntervalAttributeName

    Name of the attribute representing cache expiration property in the configuration element.

    Declaration
    public const string ExpirationIntervalAttributeName = "expirationInterval"
    Field Value
    Type Description
    String

    MinimumItemsToPurgeAttributeName

    Name of the attribute representing "minimum number of cached items to purge cache" property in the configuration element.

    Declaration
    public const string MinimumItemsToPurgeAttributeName = "minimumItemsToPurge"
    Field Value
    Type Description
    String

    Properties

    ExpirationInterval

    Gets or sets the time period indicating how long authorization info will be stored in the cache. Default is 20 minutes

    Declaration
    public TimeSpan ExpirationInterval { get; set; }
    Property Value
    Type Description
    TimeSpan

    MinimumItemsToPurge

    Gets or sets the minimum number of items stored in the cache that triggers cache clean up that removes expired items. Default is 100 items.

    Declaration
    public int MinimumItemsToPurge { get; set; }
    Property Value
    Type Description
    Int32

    Properties

    Gets collection of configuration element properties.

    Declaration
    protected override ConfigurationPropertyCollection Properties { get; }
    Property Value
    Type Description
    ConfigurationPropertyCollection
    Back to top Nevatech Sentinet 6.5 Online Documentation