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

Commit

Permalink
chore:add javadoc about being called within single thread (#856)
Browse files Browse the repository at this point in the history
* chore:add javadoc about being called within single thread

* rephrased the words

* Updated with feedback comment

* removed extra whitespace
  • Loading branch information
rahulKQL committed Jan 31, 2020
1 parent 955019c commit ee90c2c
Showing 1 changed file with 3 additions and 0 deletions.
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

0 comments on commit ee90c2c

Please sign in to comment.