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