-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify Netty RefCounting and ByteBuf Consumption (#592)
* Refactor HttpByteBufFormatter without refCount side effects and add in helpers for refSafe stream mappings Signed-off-by: Andre Kurait <akurait@amazon.com> * Add back in IReplayContexts class referencing Signed-off-by: Andre Kurait <akurait@amazon.com> * Rename ByteBufUtils to NettyUtils and convert util libraries to final class Signed-off-by: Andre Kurait <akurait@amazon.com> * Convert RefSafeHolder get to return object instead of optional Signed-off-by: Andre Kurait <akurait@amazon.com> * Add refSafeTransform to RefSafeStreamUtils Signed-off-by: Andre Kurait <akurait@amazon.com> * Enable semantic checking for @MustBeClosed with RefCounted holders and streams Signed-off-by: Andre Kurait <akurait@amazon.com> * Rename to createRefCntNeutralCloseableByteBufStream and prefer non-static imports Signed-off-by: Andre Kurait <akurait@amazon.com> * Add RefSafeStreamUtilsTest Signed-off-by: Andre Kurait <akurait@amazon.com> * Remove static import Signed-off-by: Andre Kurait <akurait@amazon.com> --------- Signed-off-by: Andre Kurait <akurait@amazon.com>
- Loading branch information
1 parent
d8b4ba8
commit 9df3614
Showing
11 changed files
with
327 additions
and
143 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
Oops, something went wrong.