Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.x] - Additional @Retry strategies #5165

Merged
merged 12 commits into from
Oct 22, 2022
13 changes: 12 additions & 1 deletion fault-tolerance/etc/spotbugs/exclude.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--

Copyright (c) 2021 Oracle and/or its affiliates.
Copyright (c) 2021, 2022 Oracle and/or its affiliates.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand All @@ -28,4 +28,15 @@
<Bug pattern="PREDICTABLE_RANDOM"/>
</Match>

<Match>
<!-- Random is used for retry Exponential, not cryptology -->
<Class name="io.helidon.faulttolerance.Retry$ExponentialRetryPolicy"/>
<Bug pattern="PREDICTABLE_RANDOM"/>
</Match>

<Match>
<!-- Random is used for retry Fibonacci, not cryptology -->
<Class name="io.helidon.faulttolerance.Retry$FibonacciRetryPolicy"/>
<Bug pattern="PREDICTABLE_RANDOM"/>
</Match>
</FindBugsFilter>
Loading