forked from instaclustr/cassandra-exporter
-
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.
Force flush of nio buffer when threshold is reached
Update unit tests to verify the FormattedByteChannel with the Netty ChunkedNioStream. Closes instaclustr#83
- Loading branch information
Showing
2 changed files
with
94 additions
and
19 deletions.
There are no files selected for viewing
28 changes: 23 additions & 5 deletions
28
common/src/main/java/com/zegelin/prometheus/exposition/FormattedByteChannel.java
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