rama creada apartir de master en j
This commit is contained in:
@@ -2,6 +2,9 @@ using adas_core.Domain.Enums;
|
||||
namespace adas_core.Domain.Models.AppSettings;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Represents configuration settings for a caching mechanism.
|
||||
/// </summary>
|
||||
public class CacheSettings
|
||||
{
|
||||
|
||||
@@ -39,6 +42,10 @@ public class CacheSettings
|
||||
|
||||
// -------------------- InMemory Cache --------------------
|
||||
|
||||
/// <summary>
|
||||
/// Represents an in-memory implementation for managing application settings.
|
||||
/// Provides storage and retrieval of configuration values without persisting them to an external source.
|
||||
/// </summary>
|
||||
public class InMemorySettings
|
||||
{
|
||||
public TtlSettings Ttl { get; set; } = new();
|
||||
@@ -48,6 +55,9 @@ public class InMemorySettings
|
||||
|
||||
// -------------------- TTL por entidad --------------------
|
||||
|
||||
/// <summary>
|
||||
/// Represents configuration settings related to Time-To-Live (TTL) behavior.
|
||||
/// </summary>
|
||||
public class TtlSettings
|
||||
{
|
||||
public int? GlobalSeconds { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user