30.82. Class Redis
Namespace: ArmoniK.Core.Adapters.Redis.Options
Assembly: ArmoniK.Core.Adapters.Redis.dll
Represents the configuration settings for connecting to a Redis instance.
[ExtractDocumentation("Options for Redis")]
public class Redis
30.82.1. Inheritance
30.82.2. Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
30.82.3. Fields
30.82.3.1. SettingSection
The name of the configuration section for Redis settings.
public const string SettingSection = "Redis"
30.82.3.1.1. Field Value
30.82.4. Properties
30.82.4.1. AllowHostMismatch
Whether to allow host name mismatches in SSL certificates.
public bool AllowHostMismatch { get; set; }
30.82.4.1.1. Property Value
30.82.4.2. CaPath
Path to the Certificate Authority (CA) file for SSL connections.
public string CaPath { get; set; }
30.82.4.2.1. Property Value
30.82.4.3. ClientName
Client connecting to the Redis server.
public string ClientName { get; set; }
30.82.4.3.1. Property Value
30.82.4.4. CredentialsPath
Path to the credentials file for authentication.
public string CredentialsPath { get; set; }
30.82.4.4.1. Property Value
30.82.4.5. EndpointUrl
Endpoint URL for the Redis server.
public string EndpointUrl { get; set; }
30.82.4.5.1. Property Value
30.82.4.6. InstanceName
Name of the Redis instance.
public string InstanceName { get; set; }
30.82.4.6.1. Property Value
30.82.4.7. MaxRetry
Maximum number of retry attempts for failed operations.
public int MaxRetry { get; set; }
30.82.4.7.1. Property Value
30.82.4.8. MsAfterRetry
Duration (in milliseconds) to wait after a retry attempt.
public int MsAfterRetry { get; set; }
30.82.4.8.1. Property Value
30.82.4.9. Password
Password for authenticating with the Redis server.
public string Password { get; set; }
30.82.4.9.1. Property Value
30.82.4.10. Ssl
Whether to use SSL for the connection.
public bool Ssl { get; set; }
30.82.4.10.1. Property Value
30.82.4.11. SslHost
Hostname for SSL connections.
public string SslHost { get; set; }
30.82.4.11.1. Property Value
30.82.4.12. Timeout
Timeout duration (in milliseconds) for Redis operations.
public int Timeout { get; set; }
30.82.4.12.1. Property Value
30.82.4.13. TtlTimeSpan
Key expiration time (TTL) for keys in the Redis database.
public TimeSpan TtlTimeSpan { get; set; }
30.82.4.13.1. Property Value
30.82.4.14. User
Username for authenticating with the Redis server.
public string User { get; set; }