Свойство | Type | Description | |
---|---|---|---|
OnSentinelError | Action |
Свойство | Type | Description | |
---|---|---|---|
Log | ILog |
Méthode | Description | |
---|---|---|
BeginListeningForConfigurationChanges ( ) : void | ||
Dispose ( ) : void | ||
ForceMasterFailover ( string masterName ) : void | ||
RedisSentinelWorker ( |
Méthode | Description | |
---|---|---|
GetMasterHost ( string masterName ) : string | ||
GetMasterHostInternal ( string masterName ) : string | ||
GetSentinelHosts ( string masterName ) : List |
||
GetSentinelInfo ( ) : SentinelInfo | ||
GetSlaveHosts ( string masterName ) : List |
||
SanitizeHostsConfig ( string>.IEnumerable |
||
SanitizeMasterConfig ( List |
||
SentinelMessageReceived ( string channel, string message ) : void |
Event that is fired when the sentinel subscription raises an event
|
public BeginListeningForConfigurationChanges ( ) : void | ||
Résultat | void |
public ForceMasterFailover ( string masterName ) : void | ||
masterName | string | |
Résultat | void |
public RedisSentinelWorker ( |
||
sentinel | ||
sentinelEndpoint | ||
Résultat | System.Threading |