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

    Class RedisOptions

    The redis configuration element.

    Inheritance
    Object
    ConfigurationElement
    RedisOptions
    Inherited Members
    ConfigurationElement.Init()
    ConfigurationElement.IsModified()
    ConfigurationElement.ResetModified()
    ConfigurationElement.IsReadOnly()
    ConfigurationElement.SetReadOnly()
    ConfigurationElement.ListErrors(IList)
    ConfigurationElement.InitializeDefault()
    ConfigurationElement.Reset(ConfigurationElement)
    ConfigurationElement.Equals(Object)
    ConfigurationElement.GetHashCode()
    ConfigurationElement.SetPropertyValue(ConfigurationProperty, Object, Boolean)
    ConfigurationElement.Unmerge(ConfigurationElement, ConfigurationElement, ConfigurationSaveMode)
    ConfigurationElement.SerializeToXmlElement(XmlWriter, String)
    ConfigurationElement.SerializeElement(XmlWriter, Boolean)
    ConfigurationElement.DeserializeElement(XmlReader, Boolean)
    ConfigurationElement.OnRequiredPropertyNotFound(String)
    ConfigurationElement.PostDeserialize()
    ConfigurationElement.PreSerialize(XmlWriter)
    ConfigurationElement.OnDeserializeUnrecognizedAttribute(String, String)
    ConfigurationElement.OnDeserializeUnrecognizedElement(String, XmlReader)
    ConfigurationElement.GetTransformedTypeString(String)
    ConfigurationElement.GetTransformedAssemblyString(String)
    ConfigurationElement.LockAttributes
    ConfigurationElement.LockAllAttributesExcept
    ConfigurationElement.LockElements
    ConfigurationElement.LockAllElementsExcept
    ConfigurationElement.LockItem
    ConfigurationElement.Item[ConfigurationProperty]
    ConfigurationElement.Item[String]
    ConfigurationElement.Properties
    ConfigurationElement.ElementInformation
    ConfigurationElement.EvaluationContext
    ConfigurationElement.ElementProperty
    ConfigurationElement.HasContext
    ConfigurationElement.CurrentConfiguration
    Object.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Object.MemberwiseClone()
    Namespace:CacheManager.Redis
    Assembly:CacheManager.StackExchange.Redis.dll
    Syntax
    public sealed class RedisOptions : ConfigurationElement

    Properties

    | Improve this Doc View Source

    AllowAdmin

    Gets or sets a value indicating whether advanced commands are allowed.

    Declaration
    [ConfigurationProperty("allowAdmin", IsRequired = false, DefaultValue = false)]
    public bool AllowAdmin { get; set; }
    Property Value
    Type Description
    Boolean

    true if admin commands should be allowed; otherwise, false.

    | Improve this Doc View Source

    ConnectionString

    Gets or sets the connection string.

    Declaration
    [ConfigurationProperty("connectionString", IsRequired = false)]
    public string ConnectionString { get; set; }
    Property Value
    Type Description
    String

    The connection string.

    | Improve this Doc View Source

    ConnectionTimeout

    Gets or sets the connection timeout.

    Declaration
    [ConfigurationProperty("connectionTimeout", IsRequired = false, DefaultValue = 5000)]
    public int ConnectionTimeout { get; set; }
    Property Value
    Type Description
    Int32

    The connection timeout.

    | Improve this Doc View Source

    Database

    Gets or sets the database.

    Declaration
    [ConfigurationProperty("database", IsRequired = false, DefaultValue = 0)]
    public int Database { get; set; }
    Property Value
    Type Description
    Int32

    The database.

    | Improve this Doc View Source

    EnableKeyspaceNotifications

    Gets or sets a value indicating whether keyspace events should be enabled and the redis cache handle should listen for them.

    Declaration
    [ConfigurationProperty("enableKeyspaceNotifications", IsRequired = false, DefaultValue = false)]
    public bool EnableKeyspaceNotifications { get; set; }
    Property Value
    Type Description
    Boolean
    | Improve this Doc View Source

    Endpoints

    Gets the endpoints.

    Declaration
    [ConfigurationProperty("endpoints")]
    [ConfigurationCollection(typeof (EndpointCollection), AddItemName = "endpoint")]
    public EndpointCollection Endpoints { get; }
    Property Value
    Type Description
    EndpointCollection

    The endpoints.

    | Improve this Doc View Source

    Id

    Gets or sets the identifier.

    Declaration
    [ConfigurationProperty("id", IsKey = true, IsRequired = true)]
    public string Id { get; set; }
    Property Value
    Type Description
    String

    The identifier.

    | Improve this Doc View Source

    Password

    Gets or sets the password.

    Declaration
    [ConfigurationProperty("password", IsRequired = false)]
    public string Password { get; set; }
    Property Value
    Type Description
    String

    The password.

    | Improve this Doc View Source

    Ssl

    Gets or sets a value indicating whether SSL should be enabled or not.

    Declaration
    [ConfigurationProperty("ssl", IsRequired = false, DefaultValue = false)]
    public bool Ssl { get; set; }
    Property Value
    Type Description
    Boolean

    true if SSL should be enabled; otherwise, false.

    | Improve this Doc View Source

    SslHost

    Gets or sets the SSL host.

    Declaration
    [ConfigurationProperty("sslHost", IsRequired = false)]
    public string SslHost { get; set; }
    Property Value
    Type Description
    String

    The SSL host.

    | Improve this Doc View Source

    StrictCompatibilityModeVersion

    Gets or sets a value setting an explicit version compatibility mode.

    Declaration
    [ConfigurationProperty("strictCompatibilityModeVersion", IsRequired = false)]
    public string StrictCompatibilityModeVersion { get; set; }
    Property Value
    Type Description
    String

    The Redis version to use.

    | Improve this Doc View Source

    TwemproxyEnabled

    Gets or sets a value indicating whether Twemproxy is used or not.

    Declaration
    [ConfigurationProperty("twemproxyEnabled", IsRequired = false, DefaultValue = false)]
    public bool TwemproxyEnabled { get; set; }
    Property Value
    Type Description
    Boolean

    true if Twemproxy is used; otherwise, false.

    • Improve this Doc
    • View Source
    © 2025 by Michael Conrad. All rights reserved. - MichaCo.net