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
Type | Name |
---|---|
System.String[] | readWriteHosts |
FailoverTo(IEnumerable<String>, IEnumerable<String>)
View Source
Declaration
void FailoverTo(IEnumerable<string> readWriteHosts, IEnumerable<string> readOnlyHosts)
Parameters
Type | Name |
---|---|
System.Collections.Generic.IEnumerable<System.String> | readWriteHosts |
System.Collections.Generic.IEnumerable<System.String> | readOnlyHosts |