Create a new concurrent batch writer
Create a new concurrent batch writer
The name of the DynamoDB table to write to
Static credentials to the DynamoDB table
The number of concurrent writers
Create a new concurrent batch writer
Create a new concurrent batch writer
The name of the DynamoDB table to write to
A provider for credentials to the DynamoDB table
The number of concurrent writers
A class for managing the synchronization of a group of writes.
A class for managing the synchronization of a group of writes.
This class facilitates the grouping of write requests.
the type of the metadata tag
Create a WriteGroup object to be used for a group of write requests that have a metadata tag in common.
Create a WriteGroup object to be used for a group of write requests that have a metadata tag in common.
This creates a view on to the concurrent batch writer, so that a collection of writes can be grouped together. The writes that are queued are tagged with the given metadata, so that errors can be reported informatively, and when used in tandem with [WriteGroup.awaitCompletionOfAllWrites], one can wait until all writes in a group have completed.
the type of the metadata tag
the metadata to tag this group with
the error queue to report errors on
a new write group
A provider for credentials to the DynamoDB table
Perform an orderly shut down of the underlying thread pool and connection pool.
Perform an orderly shut down of the underlying thread pool and connection pool.
This initiates an orderly shut down on thread and connection resources. The write queue is closed, and write batches that were previously submitted are given 60 seconds to be run and complete. After this time, all running writes are cancelled, and are given 60 seconds to terminate. The underlying DynamoDB client and its connection pool is also shutdown.
The name of the DynamoDB table to write to
The number of concurrent writers
A multi-threaded, self-throttling, batch writer to a given DynamoDB table
This class provides a blocking interface to write items in batch to one DynamoDB table. The credentials that are provided must permit the "BatchWriteItem" operation to the named table.