프로퍼티 | 타입 | 설명 | |
---|---|---|---|
DefaultAddress | string | ||
DefaultMasterName | string |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
Log | ILog |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
ConfigureHosts | string[] | ||
CreateRedisManager | IRedisClientsManager | ||
GetNextSentinel | |||
GetValidSentinelWorker | |||
OnSentinelError | void | ||
ShouldRetry | bool |
메소드 | 설명 | |
---|---|---|
Dispose ( ) : void | ||
ForceMasterFailover ( ) : void | ||
GetActiveSentinelHosts ( IEnumerable |
||
GetMaster ( ) : |
||
GetRedisManager ( ) : IRedisClientsManager | ||
GetSentinelInfo ( ) : SentinelInfo | ||
GetSlaves ( ) : List |
||
RedisSentinel ( IEnumerable |
||
RedisSentinel ( string sentinelHost = null, string masterName = null ) : System | ||
RefreshActiveSentinels ( ) : void | ||
ResetClients ( ) : SentinelInfo | ||
Start ( ) : IRedisClientsManager |
Initialize Sentinel Subscription and Configure Redis ClientsManager
|
메소드 | 설명 | |
---|---|---|
ConfigureHosts ( IEnumerable |
||
CreateRedisManager ( SentinelInfo sentinelInfo ) : IRedisClientsManager | ||
GetNextSentinel ( ) : |
||
GetValidSentinelWorker ( ) : |
||
OnSentinelError ( |
||
ShouldRetry ( ) : bool |
Check if GetValidSentinel should try the next sentinel server This will be true if the failures is less than either RedisSentinel.MaxFailures or the # of sentinels, whatever is greater |
public GetActiveSentinelHosts ( IEnumerable |
||
sentinelHosts | IEnumerable |
|
리턴 | List |
public RedisSentinel ( IEnumerable |
||
sentinelHosts | IEnumerable |
|
masterName | string | |
리턴 | System |
public RedisSentinel ( string sentinelHost = null, string masterName = null ) : System | ||
sentinelHost | string | |
masterName | string | |
리턴 | System |