From 595ed6e26f3919a4ad28881ae9d3e3bb6df760dd Mon Sep 17 00:00:00 2001 From: buildmaster Date: Mon, 21 Oct 2019 17:28:10 +0000 Subject: [PATCH] Sync docs from master to gh-pages --- reference/html/index.html | 50 +++++++++++------------- reference/html/spring-cloud-commons.html | 50 +++++++++++------------- 2 files changed, 46 insertions(+), 54 deletions(-) diff --git a/reference/html/index.html b/reference/html/index.html index 3c68bdba..6d1d3463 100644 --- a/reference/html/index.html +++ b/reference/html/index.html @@ -154,19 +154,22 @@ $(addBlockSwitches);
  • 2.10. Spring Cloud Compatibility Verification
  • -
  • 3. Spring Cloud Circuit Breaker
  • -
  • 4. Introduction +
  • 3. Spring Cloud Circuit Breaker @@ -1313,18 +1316,14 @@ of compatible Spring Boot versions.

    -
    -

    4. Introduction

    -
    +
    +

    3.1. Introduction

    Spring Cloud Circuit breaker provides an abstraction across different circuit breaker implementations. It provides a consistent API to use in your applications allowing you the developer to choose the circuit breaker implementation that best fits your needs for your app.

    -
    -

    4.1. Supported Implementations

    +
    +

    3.1.1. Supported Implementations

    • @@ -1343,10 +1342,8 @@ It provides a consistent API to use in your applications allowing you the develo
    -
    -
    -

    5. Core Concepts

    -
    +
    +

    3.2. Core Concepts

    To create a circuit breaker in your code you can use the CircuitBreakerFactory API. When you include a Spring Cloud Circuit Breaker starter on your classpath a bean implementing this API will automatically be created for you. A very simple example of using this API is given below

    @@ -1382,8 +1379,8 @@ The Function is the fallback that will be executed if the circuit b The function will be passed the Throwable that caused the fallback to be triggered. You can optionally exclude the fallback if you do not want to provide one.

    -
    -

    5.1. Circuit Breakers In Reactive Code

    +
    +

    3.2.1. Circuit Breakers In Reactive Code

    If Project Reactor is on the class path then you can also use ReactiveCircuitBreakerFactory for your reactive code.

    @@ -1419,10 +1416,8 @@ that caused the failure.

    -
    -
    -

    6. Configuration

    -
    +
    +

    3.3. Configuration

    You can configure your circuit breakers using by creating beans of type Customizer. The Customizer interface has a single method called customize that takes in the Object to customize.

    @@ -1449,8 +1444,9 @@ the links below

    +
    -

    7. Configuration Properties

    +

    4. Configuration Properties

    To see the list of all Spring Cloud Commons related configuration properties please check the Appendix page.

    diff --git a/reference/html/spring-cloud-commons.html b/reference/html/spring-cloud-commons.html index 3c68bdba..6d1d3463 100644 --- a/reference/html/spring-cloud-commons.html +++ b/reference/html/spring-cloud-commons.html @@ -154,19 +154,22 @@ $(addBlockSwitches);
  • 2.10. Spring Cloud Compatibility Verification
  • -
  • 3. Spring Cloud Circuit Breaker
  • -
  • 4. Introduction +
  • 3. Spring Cloud Circuit Breaker @@ -1313,18 +1316,14 @@ of compatible Spring Boot versions.

    -
    -

    4. Introduction

    -
    +
    +

    3.1. Introduction

    Spring Cloud Circuit breaker provides an abstraction across different circuit breaker implementations. It provides a consistent API to use in your applications allowing you the developer to choose the circuit breaker implementation that best fits your needs for your app.

    -
    -

    4.1. Supported Implementations

    +
    +

    3.1.1. Supported Implementations

    • @@ -1343,10 +1342,8 @@ It provides a consistent API to use in your applications allowing you the develo
    -
    -
    -

    5. Core Concepts

    -
    +
    +

    3.2. Core Concepts

    To create a circuit breaker in your code you can use the CircuitBreakerFactory API. When you include a Spring Cloud Circuit Breaker starter on your classpath a bean implementing this API will automatically be created for you. A very simple example of using this API is given below

    @@ -1382,8 +1379,8 @@ The Function is the fallback that will be executed if the circuit b The function will be passed the Throwable that caused the fallback to be triggered. You can optionally exclude the fallback if you do not want to provide one.

    -
    -

    5.1. Circuit Breakers In Reactive Code

    +
    +

    3.2.1. Circuit Breakers In Reactive Code

    If Project Reactor is on the class path then you can also use ReactiveCircuitBreakerFactory for your reactive code.

    @@ -1419,10 +1416,8 @@ that caused the failure.

    -
    -
    -

    6. Configuration

    -
    +
    +

    3.3. Configuration

    You can configure your circuit breakers using by creating beans of type Customizer. The Customizer interface has a single method called customize that takes in the Object to customize.

    @@ -1449,8 +1444,9 @@ the links below

    +
    -

    7. Configuration Properties

    +

    4. Configuration Properties

    To see the list of all Spring Cloud Commons related configuration properties please check the Appendix page.