forked from ReactiveX/RxJava
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue ReactiveX#280: CircuitBreaker and Retry should forward the caus…
…e of a Co… (ReactiveX#394) * Issue ReactiveX#280: CircuitBreaker and Retry should forward the cause of a CompletionException to the exceptionPredicate so that you can use CircuitBreakerConfig::ingoreExceptions and RetryConfig::ingoreExceptions correctly. * Removed not needed try/catch in AsyncRetryBlock.run. Retry should not retry when the CompletionStage cannot even be supplied. This is mostly a developer mistake and the backend is not even called. * Removed not needed try/catch in AsyncRetryBlock.run. Retry should not retry when the CompletionStage cannot even be supplied. This is mostly a developer mistake and the backend is not even called. * Added a new Retry test to test the decoration of CompletionStage. * Added a new Retry test to test the decoration of CompletionStage.
- Loading branch information
Showing
8 changed files
with
351 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.