Package io.micronaut.transaction.support
Interface TransactionSynchronizationManager.TransactionSynchronizationStateOp
-
- All Superinterfaces:
java.lang.AutoCloseable
- Enclosing class:
- TransactionSynchronizationManager
public static interface TransactionSynchronizationManager.TransactionSynchronizationStateOp extends java.lang.AutoCloseableThe transaction synchronization state autocloseable operation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()TransactionSynchronizationManager.TransactionSynchronizationStategetOrCreateState()TransactionSynchronizationManager.TransactionSynchronizationStategetState()
-
-
-
Method Detail
-
getState
@Nullable TransactionSynchronizationManager.TransactionSynchronizationState getState()
- Returns:
- the state
-
getOrCreateState
@NonNull TransactionSynchronizationManager.TransactionSynchronizationState getOrCreateState()
- Returns:
- the state
-
close
void close()
- Specified by:
closein interfacejava.lang.AutoCloseable
-
-