Class ReRegion

java.lang.Object
com.jcabi.dynamo.retry.ReRegion
All Implemented Interfaces:
Region

@Immutable @Loggable(1) public final class ReRegion extends Object implements Region
Region that retries on failure.
Since:
0.9
  • Constructor Details

    • ReRegion

      public ReRegion(Region region)
      Public ctor.
      Parameters:
      region - Origin region
  • Method Details

    • aws

      @RetryOnFailure(verbose=false, delay=5L, unit=SECONDS) public software.amazon.awssdk.services.dynamodb.DynamoDbClient aws()
      Description copied from interface: Region
      Get DynamoDB client.
      Specified by:
      aws in interface Region
      Returns:
      The client
    • table

      @RetryOnFailure(verbose=false, delay=5L, unit=SECONDS) public Table table(String name)
      Description copied from interface: Region
      Get one table.
      Specified by:
      table in interface Region
      Parameters:
      name - Table name
      Returns:
      Table