接口 ClusterRules
-
public interface ClusterRulesconstant for Cluster fault-tolerant mode
-
-
字段概要
字段 修饰符和类型 字段 说明 static StringAVAILABLEstatic StringBROADCASTCall all providers by broadcast, call them one by one, and report an error if any one reports an errorstatic StringEMPTYstatic StringFAIL_BACKWhen fails, record failure requests and schedule for retry on a regular interval.static StringFAIL_FASTExecute exactly once, which means this policy will throw an exception immediately in case of an invocation error.static StringFAIL_OVERWhen invoke fails, log the initial error and retry other invokers (retry n times, which means at most n different invokers will be invoked)static StringFAIL_SAFEWhen invoke fails, log the error message and ignore this error by returning an empty Result.static StringFORKINGInvoke a specific number of invokers concurrently, usually used for demanding real-time operations, but need to waste more service resources.static StringMERGEABLE
-
-
-
字段详细资料
-
FAIL_OVER
static final String FAIL_OVER
When invoke fails, log the initial error and retry other invokers (retry n times, which means at most n different invokers will be invoked)- 另请参阅:
- 常量字段值
-
FAIL_FAST
static final String FAIL_FAST
Execute exactly once, which means this policy will throw an exception immediately in case of an invocation error.- 另请参阅:
- 常量字段值
-
FAIL_SAFE
static final String FAIL_SAFE
When invoke fails, log the error message and ignore this error by returning an empty Result.- 另请参阅:
- 常量字段值
-
FAIL_BACK
static final String FAIL_BACK
When fails, record failure requests and schedule for retry on a regular interval.- 另请参阅:
- 常量字段值
-
FORKING
static final String FORKING
Invoke a specific number of invokers concurrently, usually used for demanding real-time operations, but need to waste more service resources.- 另请参阅:
- 常量字段值
-
BROADCAST
static final String BROADCAST
Call all providers by broadcast, call them one by one, and report an error if any one reports an error- 另请参阅:
- 常量字段值
-
-