Skip to content

Commit 27a212c

Browse files
authored
Format comments for better readability
1 parent fde3aad commit 27a212c

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

cloudplatform/resilience-api/src/main/java/com/sap/cloud/sdk/cloudplatform/resilience/ResilienceConfiguration.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -429,14 +429,14 @@ public static final class CircuitBreakerConfiguration
429429
public static final Duration DEFAULT_WAIT_DURATION = Duration.ofSeconds(10);
430430

431431
/**
432-
* The default duration threshold above which calls are considered as slow.
433-
* Matches the Resilience4j default of 60 seconds.
432+
* The default duration threshold above which calls are considered as slow. Matches the Resilience4j default of
433+
* 60 seconds.
434434
*/
435435
public static final Duration DEFAULT_SLOW_CALL_DURATION_THRESHOLD = Duration.ofSeconds(60);
436436

437437
/**
438-
* The default slow call rate threshold (as percentage within [0, 100]).
439-
* Matches the Resilience4j default of 100%.
438+
* The default slow call rate threshold (as percentage within [0, 100]). Matches the Resilience4j default of
439+
* 100%.
440440
*/
441441
public static final float DEFAULT_SLOW_CALL_RATE_THRESHOLD = 100;
442442

@@ -474,9 +474,9 @@ public static final class CircuitBreakerConfiguration
474474
private int halfOpenBufferSize = DEFAULT_HALF_OPEN_BUFFER_SIZE;
475475

476476
/**
477-
* The duration threshold above which calls are considered as slow and increase the slow call rate.
478-
* When the percentage of slow calls is equal to or greater than {@link #slowCallRateThreshold},
479-
* the CircuitBreaker transitions to <i>OPEN</i> and starts short-circuiting calls.
477+
* The duration threshold above which calls are considered as slow and increase the slow call rate. When the
478+
* percentage of slow calls is equal to or greater than {@link #slowCallRateThreshold}, the CircuitBreaker
479+
* transitions to <i>OPEN</i> and starts short-circuiting calls.
480480
*/
481481
@Nonnull
482482
private Duration slowCallDurationThreshold = DEFAULT_SLOW_CALL_DURATION_THRESHOLD;

0 commit comments

Comments
 (0)