% of ‘marks’ that must be failed to trip the circuit
必须使电路跳闸的百分比
如果断路器统计到的异常调用的占比超过了一定的阈值,才会触发断路
default => errorThresholdPercentage = 50 = if 50%+ of requests in 10 seconds are failures or latent then we will trip the circuit
default => errorThresholdPercentage = 50 =如果50%以上的请求在10秒内失败或潜伏,那么我们将跳转电路
默认值 50%
default => sleepWindow: 5000 = 5 seconds that we will sleep before trying again after tripping the circuit
default => sleepWindow:5000 = 5秒,我们将在电路断路后再次尝试睡眠
milliseconds after tripping circuit before allowing retry
在断路后允许重试前的毫秒数