Class RedisSharedCacheOptions
Настройки распределенного кэша на основе Redis.
Inheritance
System.Object
RedisSharedCacheOptions
Namespace:InfinniPlatform.Cache
Assembly:InfinniPlatform.Cache.Redis.dll
Syntax
public class RedisSharedCacheOptions : object
Constructors
| Improve this Doc View SourceRedisSharedCacheOptions()
Declaration
public RedisSharedCacheOptions()
Fields
| Improve this Doc View SourceDefault
Declaration
public static readonly RedisSharedCacheOptions Default
Field Value
Type | Description |
---|---|
RedisSharedCacheOptions |
SectionName
Declaration
public const string SectionName = null
Field Value
Type | Description |
---|---|
System.String |
Properties
| Improve this Doc View SourceConnectionTimeout
Таймаут подключения.
Declaration
public int ConnectionTimeout { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Database
Номер базы данных.
Declaration
public int Database { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Host
Адрес или доменное имя.
Declaration
public string Host { get; set; }
Property Value
Type | Description |
---|---|
System.String |
MaxReconnectRetries
Количество попыток подключения.
Declaration
public int MaxReconnectRetries { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Password
Пароль подключения.
Declaration
public string Password { get; set; }
Property Value
Type | Description |
---|---|
System.String |
PoolSize
Размер пула подключений.
Declaration
public int PoolSize { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Port
Номер порта.
Declaration
public int Port { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
ReadBufferSize
Размер буфера чтения.
Declaration
public int ReadBufferSize { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
WriteBufferSize
Размер буфера записи.
Declaration
public int WriteBufferSize { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |