Package | Description |
---|---|
org.apache.tephra |
This package contains implementations of the transaction system v2.
|
Modifier and Type | Class and Description |
---|---|
class |
NoRetryStrategy
Does no retries
|
class |
RetryOnConflictStrategy
Retries transaction execution when transaction fails with
TransactionConflictException . |
Modifier and Type | Field and Description |
---|---|
static RetryStrategy |
NoRetryStrategy.INSTANCE |
Modifier and Type | Method and Description |
---|---|
static RetryStrategy |
RetryStrategies.noRetries() |
static RetryStrategy |
RetryStrategies.retryOnConflict(int maxRetries,
long delayInMs) |
Constructor and Description |
---|
DefaultTransactionExecutor(TransactionSystemClient txClient,
Iterable<TransactionAware> txAwares,
RetryStrategy retryStrategy) |
Copyright © 2016 The Apache Software Foundation. All rights reserved.