Skip to main content

IRedisFailover

Assembly: ServiceStack.Redis.dll
View Source
Declaration
public interface IRedisFailover

Properties

OnFailover

View Source
Declaration
List<Action<IRedisClientsManager>> OnFailover { get; }

Methods

FailoverTo(String[])

View Source
Declaration
void FailoverTo(params string[] readWriteHosts)
Parameters
TypeName
System.String[]readWriteHosts

FailoverTo(IEnumerable<String>, IEnumerable<String>)

View Source
Declaration
void FailoverTo(IEnumerable<string> readWriteHosts, IEnumerable<string> readOnlyHosts)
Parameters
TypeName
System.Collections.Generic.IEnumerable<System.String>readWriteHosts
System.Collections.Generic.IEnumerable<System.String>readOnlyHosts