Class RedisSettings
- Namespace
- adas_core.Domain.Models.AppSettings
- Assembly
- adas-core.Domain.dll
Configuración Redis. No contiene lógica de qué entidades usan Redis (eso está en CacheSettings). Esta clase solo define:
- Conexión
- Cluster/Scalability
- SSL/password
- TTL global y por entidad
- Generación de claves CacheKeys
public class RedisSettings
- Inheritance
-
RedisSettings
- Inherited Members
- Extension Methods
Properties
ChannelPrefix
public string ChannelPrefix { get; set; }
Property Value
ConnectionString
public string? ConnectionString { get; set; }
Property Value
EnableScalable
public bool EnableScalable { get; set; }
Property Value
Endpoints
public IEnumerable<RedisSettings.RedisEndpoint> Endpoints { get; set; }
Property Value
ExpireKeyInSeconds
public int? ExpireKeyInSeconds { get; set; }
Property Value
- int?
Password
public string? Password { get; set; }
Property Value
Ssl
public bool Ssl { get; set; }
Property Value
Ttl
public TtlSettings Ttl { get; set; }