Modifier and Type | Field and Description |
---|---|
static Option<Integer> |
FAILSAFE_CIRCBREAKER_DELAY
After opening, a breaker will delay for 1 second(s) by default before before transitioning to half-open.
|
static Option<Boolean> |
FAILSAFE_CIRCBREAKER_ENABLED
Enable/disable Circuit breaker failsafe policy (Default: true)
|
static Option<Integer> |
FAILSAFE_CIRCBREAKER_FAILURE_THRESHOLD
The number of failures that must occur in order to open the circuit (Default: 3)
|
static Option<Integer> |
FAILSAFE_CIRCBREAKER_FAILURE_THRESHOLDING_CAP
The capacity for storing execution results when performing failure thresholding (Default: 5)
|
static Option<Integer> |
FAILSAFE_CIRCBREAKER_SUCCESS_THRESHOLD
Configures count based success thresholding by setting the number of consecutive successful transactions that must occur when in a HALF_OPEN state in order to close the circuit, else the circuit is re-opened when a failure occurs.
|
static Option<Boolean> |
FAILSAFE_ENABLED
Enable
Failsafe integration for Source Query module |
static Option<Boolean> |
FAILSAFE_RATELIMIT_ENABLED
Enable Rate Limiter (Failsafe)
|
static Option<Long> |
FAILSAFE_RATELIMIT_MAX_EXEC
Maximum number of executions within the specified period (Default is 650 executions per minute)
|
static Option<Long> |
FAILSAFE_RATELIMIT_MAX_WAIT_TIME
Maximum waiting time for permits to be available (Default is 10000 ms)
|
static Option<Long> |
FAILSAFE_RATELIMIT_PERIOD
The period after which permitted executions are reset to the max executions.
|
static Option<RateLimitType> |
FAILSAFE_RATELIMIT_TYPE
Specifies the rate limiting method to use (Default is Smooth)
|
static Option<Long> |
FAILSAFE_RETRY_BACKOFF_DELAY
Sets the delay between retries (milliseconds), exponentially backing off to the maxDelay and multiplying successive delays by the delayFactor.
|
static Option<Double> |
FAILSAFE_RETRY_BACKOFF_DELAY_FACTOR
Sets the delay between retries, exponentially backing off to the maxDelay and multiplying successive delays by the delayFactor.
|
static Option<Boolean> |
FAILSAFE_RETRY_BACKOFF_ENABLED
Enable Failsafe's Retry Backoff Feature
|
static Option<Long> |
FAILSAFE_RETRY_BACKOFF_MAX_DELAY
Sets the delay between retries (milliseconds), exponentially backing off to the maxDelay and multiplying successive delays by the delayFactor.
|
static Option<Long> |
FAILSAFE_RETRY_DELAY
Delay between retries (In milliseconds.
|
static Option<Boolean> |
FAILSAFE_RETRY_ENABLED
Enable retry policy
|
static Option<Integer> |
FAILSAFE_RETRY_MAX_ATTEMPTS
Sets the max number of execution attempts to perform.
|
contains, get, get, get, getOrDefault, isLocked, iterator, put, put, putIfAbsent, remove, size
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
get, getOrDefault, getOrDefault, isEmpty
forEach, spliterator
public static final Option<Boolean> FAILSAFE_ENABLED
Failsafe
integration for Source Query modulepublic static final Option<Boolean> FAILSAFE_RATELIMIT_ENABLED
public static final Option<Long> FAILSAFE_RATELIMIT_MAX_EXEC
FAILSAFE_RATELIMIT_PERIOD
,
Failsafe's Rate Limiterpublic static final Option<Long> FAILSAFE_RATELIMIT_PERIOD
public static final Option<Long> FAILSAFE_RATELIMIT_MAX_WAIT_TIME
public static final Option<RateLimitType> FAILSAFE_RATELIMIT_TYPE
public static final Option<Boolean> FAILSAFE_RETRY_ENABLED
public static final Option<Long> FAILSAFE_RETRY_DELAY
public static final Option<Boolean> FAILSAFE_RETRY_BACKOFF_ENABLED
public static final Option<Long> FAILSAFE_RETRY_BACKOFF_DELAY
public static final Option<Long> FAILSAFE_RETRY_BACKOFF_MAX_DELAY
public static final Option<Double> FAILSAFE_RETRY_BACKOFF_DELAY_FACTOR
public static final Option<Integer> FAILSAFE_RETRY_MAX_ATTEMPTS
public static final Option<Boolean> FAILSAFE_CIRCBREAKER_ENABLED
Enable/disable Circuit breaker failsafe policy (Default: true)
public static final Option<Integer> FAILSAFE_CIRCBREAKER_DELAY
After opening, a breaker will delay for 1 second(s) by default before before transitioning to half-open. You can change to different delay by setting this configuration option. (Unit: milliseconds, Default: 1000 ms)
public static final Option<Integer> FAILSAFE_CIRCBREAKER_FAILURE_THRESHOLD
The number of failures that must occur in order to open the circuit (Default: 3)
public static final Option<Integer> FAILSAFE_CIRCBREAKER_FAILURE_THRESHOLDING_CAP
The capacity for storing execution results when performing failure thresholding (Default: 5)
public static final Option<Integer> FAILSAFE_CIRCBREAKER_SUCCESS_THRESHOLD
Configures count based success thresholding by setting the number of consecutive successful transactions that must occur when in a HALF_OPEN state in order to close the circuit, else the circuit is re-opened when a failure occurs. (Default: 1)
Copyright © 2016–2024. All rights reserved.