Modifier and Type | Method and Description |
---|---|
void |
DriverRemoteTransaction.addTransactionListener(Consumer<Transaction.Status> listener)
There is no support for remote transaction listeners.
|
void |
DriverRemoteTransaction.removeTransactionListener(Consumer<Transaction.Status> listener)
There is no support for remote transaction listeners.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractSession.closeTransaction(SessionTask sessionTask,
Transaction.Status status)
Closes a transaction with commit or rollback.
|
protected void |
AbstractSession.closeTransaction(Transaction.Status status)
Close the transaction without a
SessionTask which supplies null to that argument for
AbstractSession.closeTransaction(SessionTask, Transaction.Status) . |
protected void |
AbstractSession.closeTransactionSafely(SessionTask sessionTask,
Transaction.Status status)
Tries to close the transaction but will catch exceptions and log them.
|
protected void |
AbstractSession.closeTransactionSafely(Transaction.Status status)
Tries to close the transaction but will catch exceptions and log them.
|
Modifier and Type | Method and Description |
---|---|
static Transaction.Status |
Transaction.Status.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Transaction.Status[] |
Transaction.Status.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
Transaction.addTransactionListener(Consumer<Transaction.Status> listener)
Adds a listener that is called back with a status when a commit or rollback is successful.
|
void |
Transaction.removeTransactionListener(Consumer<Transaction.Status> listener)
Removes a transaction listener.
|
Modifier and Type | Field and Description |
---|---|
protected ThreadLocal<List<Consumer<Transaction.Status>>> |
AbstractThreadLocalTransaction.transactionListeners |
protected List<Consumer<Transaction.Status>> |
AbstractThreadedTransaction.transactionListeners |
Modifier and Type | Method and Description |
---|---|
void |
AbstractThreadLocalTransaction.addTransactionListener(Consumer<Transaction.Status> listener) |
void |
AbstractThreadedTransaction.addTransactionListener(Consumer<Transaction.Status> listener) |
void |
AbstractThreadLocalTransaction.removeTransactionListener(Consumer<Transaction.Status> listener) |
void |
AbstractThreadedTransaction.removeTransactionListener(Consumer<Transaction.Status> listener) |
Copyright © 2013–2023 Apache Software Foundation. All rights reserved.