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 SummaryModifier and TypeMethodDescriptionRollback (abort) the transaction.Commit the transaction.voidflush()com.mongodb.reactivestreams.client.ClientSessionboolean
- 
Method Details- 
commitTransactionCommit the transaction.
- 
abortTransactionRollback (abort) the transaction.
- 
getSession
- 
isRollbackOnlypublic boolean isRollbackOnly()- Specified by:
- isRollbackOnlyin interface- SmartTransactionObject
 
- 
flushpublic void flush()- Specified by:
- flushin interface- Flushable
- Specified by:
- flushin interface- SmartTransactionObject
 
 
-