21.86. Class Redis

Namespace: ArmoniK.Core.Adapters.Redis.Options
Assembly: ArmoniK.Core.Adapters.Redis.dll

Represents the configuration settings for connecting to a Redis instance.

public class Redis

21.86.1. Inheritance

objectRedis

21.86.2. Inherited Members

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

21.86.3. Fields

21.86.3.1. SettingSection

The name of the configuration section for Redis settings.

public const string SettingSection = "Redis"

21.86.3.1.1. Field Value

string

21.86.4. Properties

21.86.4.1. AllowHostMismatch

Whether to allow host name mismatches in SSL certificates.

public bool AllowHostMismatch { get; set; }

21.86.4.1.1. Property Value

bool

21.86.4.2. CaPath

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

public string CaPath { get; set; }

21.86.4.2.1. Property Value

string

21.86.4.3. ClientName

Client connecting to the Redis server.

public string ClientName { get; set; }

21.86.4.3.1. Property Value

string

21.86.4.4. CredentialsPath

Path to the credentials file for authentication.

public string CredentialsPath { get; set; }

21.86.4.4.1. Property Value

string

21.86.4.5. EndpointUrl

Endpoint URL for the Redis server.

public string EndpointUrl { get; set; }

21.86.4.5.1. Property Value

string

21.86.4.6. InstanceName

Name of the Redis instance.

public string InstanceName { get; set; }

21.86.4.6.1. Property Value

string

21.86.4.7. MaxRetry

Maximum number of retry attempts for failed operations.

public int MaxRetry { get; set; }

21.86.4.7.1. Property Value

int

21.86.4.8. MsAfterRetry

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

public int MsAfterRetry { get; set; }

21.86.4.8.1. Property Value

int

21.86.4.9. Password

Password for authenticating with the Redis server.

public string Password { get; set; }

21.86.4.9.1. Property Value

string

21.86.4.10. Ssl

Whether to use SSL for the connection.

public bool Ssl { get; set; }

21.86.4.10.1. Property Value

bool

21.86.4.11. SslHost

Hostname for SSL connections.

public string SslHost { get; set; }

21.86.4.11.1. Property Value

string

21.86.4.12. Timeout

Timeout duration (in milliseconds) for Redis operations.

public int Timeout { get; set; }

21.86.4.12.1. Property Value

int

21.86.4.13. TtlTimeSpan

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

public TimeSpan TtlTimeSpan { get; set; }

21.86.4.13.1. Property Value

TimeSpan

21.86.4.14. User

Username for authenticating with the Redis server.

public string User { get; set; }

21.86.4.14.1. Property Value

string