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

26.82.1. Inheritance

objectRedis

26.82.2. Inherited Members

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

26.82.3. Fields

26.82.3.1. SettingSection

The name of the configuration section for Redis settings.

public const string SettingSection = "Redis"

26.82.3.1.1. Field Value

string

26.82.4. Properties

26.82.4.1. AllowHostMismatch

Whether to allow host name mismatches in SSL certificates.

public bool AllowHostMismatch { get; set; }

26.82.4.1.1. Property Value

bool

26.82.4.2. CaPath

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

public string CaPath { get; set; }

26.82.4.2.1. Property Value

string

26.82.4.3. ClientName

Client connecting to the Redis server.

public string ClientName { get; set; }

26.82.4.3.1. Property Value

string

26.82.4.4. CredentialsPath

Path to the credentials file for authentication.

public string CredentialsPath { get; set; }

26.82.4.4.1. Property Value

string

26.82.4.5. EndpointUrl

Endpoint URL for the Redis server.

public string EndpointUrl { get; set; }

26.82.4.5.1. Property Value

string

26.82.4.6. InstanceName

Name of the Redis instance.

public string InstanceName { get; set; }

26.82.4.6.1. Property Value

string

26.82.4.7. MaxRetry

Maximum number of retry attempts for failed operations.

public int MaxRetry { get; set; }

26.82.4.7.1. Property Value

int

26.82.4.8. MsAfterRetry

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

public int MsAfterRetry { get; set; }

26.82.4.8.1. Property Value

int

26.82.4.9. Password

Password for authenticating with the Redis server.

public string Password { get; set; }

26.82.4.9.1. Property Value

string

26.82.4.10. Ssl

Whether to use SSL for the connection.

public bool Ssl { get; set; }

26.82.4.10.1. Property Value

bool

26.82.4.11. SslHost

Hostname for SSL connections.

public string SslHost { get; set; }

26.82.4.11.1. Property Value

string

26.82.4.12. Timeout

Timeout duration (in milliseconds) for Redis operations.

public int Timeout { get; set; }

26.82.4.12.1. Property Value

int

26.82.4.13. TtlTimeSpan

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

public TimeSpan TtlTimeSpan { get; set; }

26.82.4.13.1. Property Value

TimeSpan

26.82.4.14. User

Username for authenticating with the Redis server.

public string User { get; set; }

26.82.4.14.1. Property Value

string