public BeginListeningForConfigurationChanges ( ) : void | ||
리턴 | void |
private void GetValidSentinel() { while (this.clientManager == null && failures < RedisSentinel.MaxFailures) { try { worker = GetNextSentinel(); clientManager = worker.GetClientManager(); worker.BeginListeningForConfigurationChanges(); } catch (RedisException) { if (worker != null) { worker.SentinelError -= Worker_SentinelError; worker.Dispose(); } failures++; } } }
private void GetValidSentinel() { while (this.clientManager == null && failures < RedisSentinel.MaxFailures) { try { worker = GetNextSentinel(); clientManager = worker.GetClientManager(); worker.BeginListeningForConfigurationChanges(); } catch (RedisException) { if (worker != null) { worker.SentinelError -= Worker_SentinelError; worker.Dispose(); } failures++; } } }