Interface ClusterRules


public interface ClusterRules
constant for Cluster fault-tolerant mode
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
    static final String
    Call all providers by broadcast, call them one by one, and report an error if any one reports an error
    static final String
     
    static final String
    When fails, record failure requests and schedule for retry on a regular interval.
    static final String
    Execute exactly once, which means this policy will throw an exception immediately in case of an invocation error.
    static final String
    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 final String
    When invoke fails, log the error message and ignore this error by returning an empty Result.
    static final String
    Invoke a specific number of invokers concurrently, usually used for demanding real-time operations, but need to waste more service resources.
    static final String
     
  • Field Details

    • 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)
      See Also:
    • 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.
      See Also:
    • FAIL_SAFE

      static final String FAIL_SAFE
      When invoke fails, log the error message and ignore this error by returning an empty Result.
      See Also:
    • FAIL_BACK

      static final String FAIL_BACK
      When fails, record failure requests and schedule for retry on a regular interval.
      See Also:
    • 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.
      See Also:
    • 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
      See Also:
    • AVAILABLE

      static final String AVAILABLE
      See Also:
    • MERGEABLE

      static final String MERGEABLE
      See Also:
    • EMPTY

      static final String EMPTY
      See Also: