Package | Description |
---|---|
software.amazon.qldb |
Modifier and Type | Method and Description |
---|---|
RetryPolicy |
RetryPolicy.Builder.build()
Construct a RetryPolicy with the current configuration in the builder.
|
static RetryPolicy |
RetryPolicy.maxRetries(int maxRetries)
Factory method to create a RetryPolicy with the maximum retry number that a transaction will be executed.
|
static RetryPolicy |
RetryPolicy.none()
Factory method to create a RetryPolicy that will not retry.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
QldbDriver.execute(Executor<T> executor,
RetryPolicy retryPolicy)
Execute the Executor lambda against QLDB and retrieve the result within a transaction.
|
void |
QldbDriver.execute(ExecutorNoReturn executor,
RetryPolicy retryPolicy)
Execute the Executor lambda against QLDB within a transaction where no result is expected.
|
QldbDriverBuilder |
QldbDriverBuilder.transactionRetryPolicy(RetryPolicy retryPolicy)
Specify the retry policy that will be used to execute the transactions.
|