Table of Contents

Class RedisCacheConnectorOptions

Namespace
Steeltoe.Connector.Redis
Assembly
Steeltoe.Connector.ConnectorBase.dll
public class RedisCacheConnectorOptions : AbstractServiceConnectorOptions
Inheritance
RedisCacheConnectorOptions
Inherited Members

Constructors

RedisCacheConnectorOptions()

public RedisCacheConnectorOptions()

RedisCacheConnectorOptions(IConfiguration)

public RedisCacheConnectorOptions(IConfiguration config)

Parameters

config IConfiguration

Properties

AbortOnConnectFail

public bool AbortOnConnectFail { get; set; }

Property Value

bool

AllowAdmin

public bool AllowAdmin { get; set; }

Property Value

bool

ClientName

public string ClientName { get; set; }

Property Value

string

ConnectRetry

public int ConnectRetry { get; set; }

Property Value

int

ConnectTimeout

public int ConnectTimeout { get; set; }

Property Value

int

ConnectionString

public string ConnectionString { get; set; }

Property Value

string

EndPoints

public string EndPoints { get; set; }

Property Value

string

Host

public string Host { get; set; }

Property Value

string

InstanceName

public string InstanceName { get; set; }

Property Value

string

KeepAlive

public int KeepAlive { get; set; }

Property Value

int

Password

public string Password { get; set; }

Property Value

string

Port

public int Port { get; set; }

Property Value

int

ResolveDns

public bool ResolveDns { get; set; }

Property Value

bool

ServiceName

public string ServiceName { get; set; }

Property Value

string

Ssl

public bool Ssl { get; set; }

Property Value

bool

SslHost

public string SslHost { get; set; }

Property Value

string

SyncTimeout

public int SyncTimeout { get; set; }

Property Value

int

TieBreaker

public string TieBreaker { get; set; }

Property Value

string

WriteBuffer

public int WriteBuffer { get; set; }

Property Value

int

Methods

ToMicrosoftExtensionObject(Type)

Get a Redis configuration object for use with Microsoft.Extensions.Caching.Redis

public object ToMicrosoftExtensionObject(Type optionsType)

Parameters

optionsType Type

Expects Microsoft.Extensions.Caching.Redis.RedisCacheOptions

Returns

object

This object typed as RedisCacheOptions

ToStackExchangeObject(Type)

Get a Redis configuration object for use with StackExchange.Redis

public object ToStackExchangeObject(Type optionsType)

Parameters

optionsType Type

Expects StackExchange.Redis.ConfigurationOptions

Returns

object

This object typed as ConfigurationOptions

Remarks

Includes comma in password detection and workaround for https://github.com/SteeltoeOSS/Connectors/issues/10

ToString()

public override string ToString()

Returns

string