public interface TransactionProviderI extends TransactionBuilderI
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
$0 |
| Modifier and Type | Method and Description |
|---|---|
TransactionAnswer |
saveBO(Transaction tx)
Persists the changes recorded in the passed transaction tx to the database.
|
TransactionAnswer |
saveBO(Transaction tx,
boolean ignoreConflicts) |
default TransactionAnswer |
saveWithRetries(Transaction tx,
int maxRetries,
int sleepMillis,
org.apache.log4j.Logger log) |
default TransactionAnswer |
saveWithRetries(Transaction tx,
int maxRetries,
int sleepMillis,
org.apache.log4j.Logger log,
boolean ignoreConflicts)
Persists the changes recorded in the passed transaction tx to the database
with retries on an encountered MightSucceedIfRetriedLaterI.
|
getNewTransaction, getNewTransaction, getNewTransaction, getNewTransaction, getNewTransactionWithInstrumentedSchema, getNewTransactionWithInstrumentedSchema, getNewTransactionWithInstrumentedSchema, getNewTransactionWithInstrumentedSchemastatic final java.lang.String $0
TransactionAnswer saveBO(Transaction tx)
tx - the Transaction to saveTransactionConflictException - if a conflict occurred
during the save processTransactionAnswer saveBO(Transaction tx, boolean ignoreConflicts)
default TransactionAnswer saveWithRetries(Transaction tx, int maxRetries, int sleepMillis, org.apache.log4j.Logger log, boolean ignoreConflicts)
tx - the Transaction to savemaxRetries - an int specifying the desired maximum number of retriessleepMillis - an int specifying the amount of milliseconds to wait before each retrysleepMillislog - the Logger to write log output toTransactionConflictException - if a conflict occurred
during the save processdefault TransactionAnswer saveWithRetries(Transaction tx, int maxRetries, int sleepMillis, org.apache.log4j.Logger log)
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.