Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

chore:add javadoc about being called within single thread #856

Merged
merged 4 commits into from Jan 31, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 3 additions & 0 deletions gax/src/main/java/com/google/api/gax/batching/Batcher.java
Expand Up @@ -38,6 +38,9 @@
* when triggered by an internal threshold. This is intended to be used for high throughput
* scenarios at the cost of latency.
*
* <p>Batcher instances are not thread safe. To use across different threads, create a new Batcher
* instance per thread.
*
* @param <ElementT> The type of each individual element to be batched.
* @param <ElementResultT> The type of the result for each individual element.
*/
Expand Down