arturobernalg opened a new pull request, #437:
URL: https://github.com/apache/httpcomponents-client/pull/437
In this commit, we have made several improvements to the AIMDBackoffManager
class:
* Replaced volatile variables with AtomicReference and AtomicInteger to
ensure better thread-safety and atomic operations.
* Updated the @Contract annotation to reflect the new thread-safe behavior
of the class.
* Added parameter validation checks to public methods for better error
handling and prevention of incorrect usage.
* Improved the code readability and organization by separating sections of
the class with blank lines and consistent indentation.
* These enhancements make the AIMDBackoffManager class more robust,
reliable, and easier to maintain.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]