This repository has been archived by the owner on Sep 26, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moving new Batcher API to existing Batching package (#771)
* Moving Batcher V2 to existing batching package - Renamed to `v2.RequestBuilder` to `BatchingRequestBuilder`. - Adapted to existing BatchingSettings. - In case ElementCountThreshold or RequestByteCountThreshold is null, then using 0 as threshold level. - Defaulting to 1ms in case delayThreshold value is unset. * Updated delayThreshold behavior according to existing settings - Cancelling the auto flush in case delaythreshold is unset by user. * Fixed unit test when delayThreshold not provided
- Loading branch information
1 parent
602a796
commit 0de16d5
Showing
7 changed files
with
36 additions
and
164 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
135 changes: 0 additions & 135 deletions
135
gax/src/main/java/com/google/api/gax/batching/v2/BatchingSettings.java
This file was deleted.
Oops, something went wrong.
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