Skip to content

Commit

Permalink
chore: java doc update to for returned data instances
Browse files Browse the repository at this point in the history
To let the user know about Batcher instance returned from Bulk operations are not threadsafe.
  • Loading branch information
rahulKQL committed Jan 23, 2020
1 parent bc0fb86 commit a7fbb0d
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -913,6 +913,8 @@ public void bulkMutateRows(BulkMutation mutation) {
* Mutates multiple rows in a batch. Each individual row is mutated atomically as in MutateRow,
* but the entire batch is not executed atomically.
*
* <p>The returned Batcher instance is not threadsafe, it can only be used from single thread.
*
* <p>Sample Code:
*
* <pre>{@code
Expand Down Expand Up @@ -941,6 +943,8 @@ public Batcher<RowMutationEntry, Void> newBulkMutationBatcher(@Nonnull String ta
* Reads rows for given tableId in a batch. If the row does not exist, the value will be null.
* This operation should be called with in a single thread.
*
* <p>The returned Batcher instance is not threadsafe, it can only be used from single thread.
*
* <p>Sample Code:
*
* <pre>{@code
Expand Down Expand Up @@ -975,6 +979,8 @@ public Batcher<ByteString, Row> newBulkReadRowsBatcher(String tableId) {
* Reads rows for given tableId and filter criteria in a batch. If the row does not exist, the
* value will be null. This operation should be called with in a single thread.
*
* <p>The returned Batcher instance is not threadsafe, it can only be used from single thread.
*
* <p>Sample Code:
*
* <pre>{@code
Expand Down

0 comments on commit a7fbb0d

Please sign in to comment.