Circuit breaker configuration options. All time are given in milliseconds.
package |
Default |
---|
__construct( $circuitBreakerOptions = null)
mixed | null
getFailuresRollingWindow() : integer
integer
getMaxFailures() : integer
integer
getMaxRetries() : integer
integer
getMetricsRollingBuckets() : integer
integer
getMetricsRollingWindow() : integer
integer
getNotificationAddress() : string
string
getNotificationPeriod() : integer
integer
getResetTimeout() : integer
integer
getTimeout() : integer
integer
isFallbackOnFailure() : boolean
boolean
setFailuresRollingWindow( $failuresRollingWindow) : $this
integer
$this
setFallbackOnFailure( $fallbackOnFailure) : $this
boolean
$this
setMaxFailures( $maxFailures) : $this
integer
$this
setMaxRetries( $maxRetries) : $this
integer
$this
setMetricsRollingBuckets( $metricsRollingBuckets) : $this
integer
$this
setMetricsRollingWindow( $metricsRollingWindow) : $this
integer
$this
setNotificationAddress( $notificationAddress) : $this
string
$this
setNotificationPeriod( $notificationPeriod) : $this
integer
$this
setResetTimeout( $resetTimeout) : $this
integer
$this
setTimeout( $timeout) : $this
integer
$this