public interface ClusterRules
| Modifier and Type | Field and Description |
|---|---|
static String |
AVAILABLE |
static String |
BROADCAST
Call all providers by broadcast, call them one by one, and report an error if any one reports an error
|
static String |
EMPTY |
static String |
FAIL_BACK
When fails, record failure requests and schedule for retry on a regular interval.
|
static String |
FAIL_FAST
Execute exactly once, which means this policy will throw an exception immediately in case of an invocation error.
|
static 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)
|
static String |
FAIL_SAFE
When invoke fails, log the error message and ignore this error by returning an empty Result.
|
static String |
FORKING
Invoke a specific number of invokers concurrently, usually used for demanding real-time operations, but need to waste more service resources.
|
static String |
MERGEABLE |
static final String FAIL_OVER
static final String FAIL_FAST
static final String FAIL_SAFE
static final String FAIL_BACK
static final String FORKING
static final String BROADCAST
static final String AVAILABLE
static final String MERGEABLE
static final String EMPTY
Copyright © 2011–2022 The Apache Software Foundation. All rights reserved.