public class DynamoDBUtils extends Object
| Constructor and Description |
|---|
DynamoDBUtils() |
| Modifier and Type | Method and Description |
|---|---|
static com.amazonaws.services.dynamodbv2.document.Table |
createLockTable(com.amazonaws.services.dynamodbv2.AmazonDynamoDB dynamodb,
String tableName,
com.amazonaws.services.dynamodbv2.model.ProvisionedThroughput throughput)
Creates a locking table with the given name.
|
public static com.amazonaws.services.dynamodbv2.document.Table createLockTable(com.amazonaws.services.dynamodbv2.AmazonDynamoDB dynamodb,
String tableName,
com.amazonaws.services.dynamodbv2.model.ProvisionedThroughput throughput)
This method does not check if a table with the given name exists already.
dynamodb - DynamoDB to be usedtableName - table to be usedthroughput - AWS throughput requirements for the given lock setupreference to the newly created tablecom.amazonaws.services.dynamodbv2.model.ResourceInUseException - The operation conflicts with the resource's availability. You attempted to recreate an
existing table.Copyright © 2020. All rights reserved.