22.79. 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

22.79.1. Inheritance

objectRedis

22.79.2. Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

22.79.3. Fields

22.79.3.1. SettingSection

The name of the configuration section for Redis settings.

public const string SettingSection = "Redis"

22.79.3.1.1. Field Value

string

22.79.4. Properties

22.79.4.1. AllowHostMismatch

Whether to allow host name mismatches in SSL certificates.

public bool AllowHostMismatch { get; set; }

22.79.4.1.1. Property Value

bool

22.79.4.2. CaPath

Path to the Certificate Authority (CA) file for SSL connections.

public string CaPath { get; set; }

22.79.4.2.1. Property Value

string

22.79.4.3. ClientName

Client connecting to the Redis server.

public string ClientName { get; set; }

22.79.4.3.1. Property Value

string

22.79.4.4. CredentialsPath

Path to the credentials file for authentication.

public string CredentialsPath { get; set; }

22.79.4.4.1. Property Value

string

22.79.4.5. EndpointUrl

Endpoint URL for the Redis server.

public string EndpointUrl { get; set; }

22.79.4.5.1. Property Value

string

22.79.4.6. InstanceName

Name of the Redis instance.

public string InstanceName { get; set; }

22.79.4.6.1. Property Value

string

22.79.4.7. MaxRetry

Maximum number of retry attempts for failed operations.

public int MaxRetry { get; set; }

22.79.4.7.1. Property Value

int

22.79.4.8. MsAfterRetry

Duration (in milliseconds) to wait after a retry attempt.

public int MsAfterRetry { get; set; }

22.79.4.8.1. Property Value

int

22.79.4.9. Password

Password for authenticating with the Redis server.

public string Password { get; set; }

22.79.4.9.1. Property Value

string

22.79.4.10. Ssl

Whether to use SSL for the connection.

public bool Ssl { get; set; }

22.79.4.10.1. Property Value

bool

22.79.4.11. SslHost

Hostname for SSL connections.

public string SslHost { get; set; }

22.79.4.11.1. Property Value

string

22.79.4.12. Timeout

Timeout duration (in milliseconds) for Redis operations.

public int Timeout { get; set; }

22.79.4.12.1. Property Value

int

22.79.4.13. TtlTimeSpan

Key expiration time (TTL) for keys in the Redis database.

public TimeSpan TtlTimeSpan { get; set; }

22.79.4.13.1. Property Value

TimeSpan

22.79.4.14. User

Username for authenticating with the Redis server.

public string User { get; set; }

22.79.4.14.1. Property Value

string