Class CacheSettings
Inherited Members
Namespace: LemonEdge.Connections.Database
Assembly: LemonEdge.Database.Connector.dll
Syntax
public class CacheSettings
Constructors
CacheSettings()
Declaration
public CacheSettings()
Properties
SharedCacheConnectionString
The connection string to a shared cache server such as a redis cache server
Declaration
public string SharedCacheConnectionString { get; set; }
Property Value
Type | Description |
---|---|
string |
SharedCacheExpiry
The default timespan to use before items in the cache automatically expire
Default: 2:00:00:00
Declaration
public TimeSpan SharedCacheExpiry { get; set; }
Property Value
Type | Description |
---|---|
TimeSpan |
UseSharedCache
Indicates you would like to synchronize the cache between multiple services through the use of a shared cache server
Default: false
Declaration
public bool UseSharedCache { get; set; }
Property Value
Type | Description |
---|---|
bool |