Interface ReactiveTransactionStatus<T>
-
- Type Parameters:
T
- The connection type.
- All Superinterfaces:
TransactionExecution
public interface ReactiveTransactionStatus<T> extends TransactionExecution
Status object for reactive transactions.- Since:
- 2.2.0
- Author:
- graemerocher
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
getConnection()
-
Methods inherited from interface io.micronaut.transaction.TransactionExecution
isCompleted, isNewTransaction, isRollbackOnly, setRollbackOnly
-
-
-
-
Field Detail
-
ATTRIBUTE
@Deprecated static final java.lang.String ATTRIBUTE
Deprecated.The key cannot be constant in multi-tx environments. Replaced withReactorReactiveTransactionOperations.getTransactionStatus(reactor.util.context.ContextView)
.Attribute that can be used to store this status within context propagation services.- See Also:
- Constant Field Values
-
STATUS
@Deprecated static final java.lang.String STATUS
Deprecated.The key cannot be constant in multi-tx environments. Replaced withReactorReactiveTransactionOperations.getTransactionDefinition(reactor.util.context.ContextView)
.Attribute that can be used to store the transaction status.- See Also:
- Constant Field Values
-
-
Method Detail
-
getConnection
@NonNull T getConnection()
- Returns:
- The current connection.
-
-