Class RedisCacheConnectorOptions
Inheritance
System.Object
RedisCacheConnectorOptions
Assembly: Steeltoe.Connector.ConnectorBase.dll
Syntax
public class RedisCacheConnectorOptions : AbstractServiceConnectorOptions
Constructors
|
Edit this page
View Source
RedisCacheConnectorOptions()
Declaration
public RedisCacheConnectorOptions()
|
Edit this page
View Source
RedisCacheConnectorOptions(IConfiguration)
Declaration
public RedisCacheConnectorOptions(IConfiguration config)
Parameters
Type |
Name |
Description |
IConfiguration |
config |
|
Properties
|
Edit this page
View Source
AbortOnConnectFail
Declaration
public bool AbortOnConnectFail { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
AllowAdmin
Declaration
public bool AllowAdmin { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
ClientName
Declaration
public string ClientName { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Edit this page
View Source
ConnectionString
Declaration
public string ConnectionString { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Edit this page
View Source
ConnectRetry
Declaration
public int ConnectRetry { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
|
Edit this page
View Source
ConnectTimeout
Declaration
public int ConnectTimeout { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
|
Edit this page
View Source
EndPoints
Declaration
public string EndPoints { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Edit this page
View Source
Host
Declaration
public string Host { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Edit this page
View Source
InstanceName
Declaration
public string InstanceName { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Edit this page
View Source
KeepAlive
Declaration
public int KeepAlive { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
|
Edit this page
View Source
Password
Declaration
public string Password { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Edit this page
View Source
Port
Declaration
public int Port { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
|
Edit this page
View Source
ResolveDns
Declaration
public bool ResolveDns { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
ServiceName
Declaration
public string ServiceName { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Edit this page
View Source
Ssl
Declaration
public bool Ssl { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
SslHost
Declaration
public string SslHost { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Edit this page
View Source
SyncTimeout
Declaration
public int SyncTimeout { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
|
Edit this page
View Source
TieBreaker
Declaration
public string TieBreaker { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Edit this page
View Source
WriteBuffer
Declaration
public int WriteBuffer { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
|
Edit this page
View Source
ToMicrosoftExtensionObject(Type)
Get a Redis configuration object for use with Microsoft.Extensions.Caching.Redis
Declaration
public object ToMicrosoftExtensionObject(Type optionsType)
Parameters
Type |
Name |
Description |
Type |
optionsType |
Expects Microsoft.Extensions.Caching.Redis.RedisCacheOptions
|
Returns
Type |
Description |
System.Object |
This object typed as RedisCacheOptions
|
|
Edit this page
View Source
ToStackExchangeObject(Type)
Get a Redis configuration object for use with StackExchange.Redis
Declaration
public object ToStackExchangeObject(Type optionsType)
Parameters
Type |
Name |
Description |
Type |
optionsType |
Expects StackExchange.Redis.ConfigurationOptions
|
Returns
Type |
Description |
System.Object |
This object typed as ConfigurationOptions
|
|
Edit this page
View Source
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|