protected static class MongoTransactionManager.MongoTransactionObject extends Object implements SmartTransactionObject
MongoResourceHolder. Used as transaction object by
 MongoTransactionManager.MongoResourceHolder| Modifier and Type | Method and Description | 
|---|---|
| void | abortTransaction()Rollback (abort) the transaction. | 
| void | commitTransaction()Commit the transaction. | 
| void | flush() | 
| com.mongodb.client.ClientSession | getSession() | 
| boolean | isRollbackOnly() | 
public void commitTransaction()
public void abortTransaction()
@Nullable public com.mongodb.client.ClientSession getSession()
public boolean isRollbackOnly()
isRollbackOnly in interface SmartTransactionObjectpublic void flush()
flush in interface Flushableflush in interface SmartTransactionObjectCopyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.