C# 클래스 ServiceStack.Redis.RedisSentinelWorker

상속: IDisposable
파일 보기 프로젝트 열기: ServiceStack/ServiceStack.Redis 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
OnSentinelError Action

보호된 프로퍼티들

프로퍼티 타입 설명
Log ILog

공개 메소드들

메소드 설명
BeginListeningForConfigurationChanges ( ) : void
Dispose ( ) : void
ForceMasterFailover ( string masterName ) : void
RedisSentinelWorker ( RedisSentinel sentinel, RedisEndpoint sentinelEndpoint ) : System.Threading

비공개 메소드들

메소드 설명
GetMasterHost ( string masterName ) : string
GetMasterHostInternal ( string masterName ) : string
GetSentinelHosts ( string masterName ) : List
GetSentinelInfo ( ) : SentinelInfo
GetSlaveHosts ( string masterName ) : List
SanitizeHostsConfig ( string>.IEnumerable slaves ) : List
SanitizeMasterConfig ( List masterInfo ) : string
SentinelMessageReceived ( string channel, string message ) : void

Event that is fired when the sentinel subscription raises an event

메소드 상세

BeginListeningForConfigurationChanges() 공개 메소드

public BeginListeningForConfigurationChanges ( ) : void
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

ForceMasterFailover() 공개 메소드

public ForceMasterFailover ( string masterName ) : void
masterName string
리턴 void

RedisSentinelWorker() 공개 메소드

public RedisSentinelWorker ( RedisSentinel sentinel, RedisEndpoint sentinelEndpoint ) : System.Threading
sentinel RedisSentinel
sentinelEndpoint RedisEndpoint
리턴 System.Threading

프로퍼티 상세

Log 보호되어 있는 정적으로 프로퍼티

protected static ILog Log
리턴 ILog

OnSentinelError 공개적으로 프로퍼티

public Action OnSentinelError
리턴 Action