• CacheManager
  • Documentation
  • Api Docs
  • MichaCo.net
    Show / Hide Table of Contents

    Class CacheManagerConfiguration

    The basic cache manager configuration class.

    Inheritance
    Object
    CacheManagerConfiguration
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace:CacheManager.Core
    Assembly:CacheManager.Core.dll
    Syntax
    public sealed class CacheManagerConfiguration : ICacheManagerConfiguration, IReadOnlyCacheManagerConfiguration

    Constructors

    | Improve this Doc View Source

    CacheManagerConfiguration()

    Initializes a new instance of the CacheManagerConfiguration class.

    Declaration
    public CacheManagerConfiguration()

    Properties

    | Improve this Doc View Source

    BackplaneChannelName

    Gets or sets the backplane channel name.

    Declaration
    public string BackplaneChannelName { get; set; }
    Property Value
    Type Description
    String

    The channel name.

    Implements
    IReadOnlyCacheManagerConfiguration.BackplaneChannelName
    | Improve this Doc View Source

    BackplaneConfigurationKey

    Gets or sets the configuration key the backplane might use.

    Declaration
    public string BackplaneConfigurationKey { get; set; }
    Property Value
    Type Description
    String

    The key of the backplane configuration.

    Implements
    IReadOnlyCacheManagerConfiguration.BackplaneConfigurationKey
    | Improve this Doc View Source

    BackplaneType

    Gets or sets the factory method for a cache backplane.

    Declaration
    public Type BackplaneType { get; set; }
    Property Value
    Type Description
    Type

    The backplane activator.

    Implements
    IReadOnlyCacheManagerConfiguration.BackplaneType
    | Improve this Doc View Source

    BackplaneTypeArguments

    Gets or sets additional arguments which should be used instantiating the backplane.

    Declaration
    public object[] BackplaneTypeArguments { get; set; }
    Property Value
    Type Description
    Object[]

    The list of arguments.

    Implements
    IReadOnlyCacheManagerConfiguration.BackplaneTypeArguments
    | Improve this Doc View Source

    Builder

    Gets a ConfigurationBuilder for the current CacheManagerConfiguration instance to manipulate the configuration fluently.

    Declaration
    public ConfigurationBuilder Builder { get; }
    Property Value
    Type Description
    ConfigurationBuilder

    The ConfigurationBuilder.

    Implements
    ICacheManagerConfiguration.Builder
    | Improve this Doc View Source

    CacheHandleConfigurations

    Gets the list of cache handle configurations.

    Declaration
    public IList<CacheHandleConfiguration> CacheHandleConfigurations { get; }
    Property Value
    Type Description
    IList<CacheHandleConfiguration>

    The list of cache handle configurations.

    Implements
    ICacheManagerConfiguration.CacheHandleConfigurations
    | Improve this Doc View Source

    HasBackplane

    Gets a value indicating whether this instance has a backplane defined.

    Declaration
    public bool HasBackplane { get; }
    Property Value
    Type Description
    Boolean

    true if this instance has cache backplane; otherwise, false.

    Implements
    IReadOnlyCacheManagerConfiguration.HasBackplane
    | Improve this Doc View Source

    LoggerFactoryType

    Gets or sets the factory method for a logger factory.

    Declaration
    public Type LoggerFactoryType { get; set; }
    Property Value
    Type Description
    Type

    The logger factory activator.

    Implements
    IReadOnlyCacheManagerConfiguration.LoggerFactoryType
    | Improve this Doc View Source

    LoggerFactoryTypeArguments

    Gets or sets additional arguments which should be used instantiating the logger factory.

    Declaration
    public object[] LoggerFactoryTypeArguments { get; set; }
    Property Value
    Type Description
    Object[]

    The list of arguments.

    Implements
    IReadOnlyCacheManagerConfiguration.LoggerFactoryTypeArguments
    | Improve this Doc View Source

    MaxRetries

    Gets or sets the limit of the number of retry operations per action.

    Default is 50.

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

    The maximum retries.

    Implements
    IReadOnlyCacheManagerConfiguration.MaxRetries
    | Improve this Doc View Source

    Name

    Gets or sets the name of the cache.

    Declaration
    public string Name { get; set; }
    Property Value
    Type Description
    String

    The name of the cache.

    Implements
    IReadOnlyCacheManagerConfiguration.Name
    | Improve this Doc View Source

    RetryTimeout

    Gets or sets the number of milliseconds the cache should wait before it will retry an action.

    Default is 100.

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

    The retry timeout.

    Implements
    IReadOnlyCacheManagerConfiguration.RetryTimeout
    | Improve this Doc View Source

    SerializerType

    Gets or sets the factory method for a cache serializer.

    Declaration
    public Type SerializerType { get; set; }
    Property Value
    Type Description
    Type

    The serializer activator.

    Implements
    IReadOnlyCacheManagerConfiguration.SerializerType
    | Improve this Doc View Source

    SerializerTypeArguments

    Gets or sets additional arguments which should be used instantiating the serializer.

    Declaration
    public object[] SerializerTypeArguments { get; set; }
    Property Value
    Type Description
    Object[]

    The list of arguments.

    Implements
    IReadOnlyCacheManagerConfiguration.SerializerTypeArguments
    | Improve this Doc View Source

    UpdateMode

    Gets or sets the UpdateMode for the cache manager instance.

    Drives the behavior of the cache manager how it should update the different cache handles it manages.

    Declaration
    public CacheUpdateMode UpdateMode { get; set; }
    Property Value
    Type Description
    CacheUpdateMode

    The cache update mode.

    Implements
    IReadOnlyCacheManagerConfiguration.UpdateMode

    Methods

    | Improve this Doc View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    String
    Overrides
    Object.ToString()
    • Improve this Doc
    • View Source
    © 2025 by Michael Conrad. All rights reserved. - MichaCo.net