Package org.springframework.data.mongodb
Class ReactiveMongoTransactionManager.ReactiveMongoTransactionObject
java.lang.Object
org.springframework.data.mongodb.ReactiveMongoTransactionManager.ReactiveMongoTransactionObject
- All Implemented Interfaces:
Flushable
,SmartTransactionObject
- Enclosing class:
- ReactiveMongoTransactionManager
protected static class ReactiveMongoTransactionManager.ReactiveMongoTransactionObject
extends Object
implements SmartTransactionObject
MongoDB specific transaction object, representing a
MongoResourceHolder
. Used as transaction object by
ReactiveMongoTransactionManager
.- Since:
- 2.2
- Author:
- Christoph Strobl, Mark Paluch
- See Also:
-
ReactiveMongoResourceHolder
-
Method Details
-
commitTransaction
Commit the transaction. -
abortTransaction
Rollback (abort) the transaction. -
getSession
-
isRollbackOnly
public boolean isRollbackOnly()- Specified by:
isRollbackOnly
in interfaceSmartTransactionObject
-
flush
public void flush()- Specified by:
flush
in interfaceFlushable
- Specified by:
flush
in interfaceSmartTransactionObject
-