protected static class ReactiveMongoTransactionManager.ReactiveMongoTransactionObject extends Object implements SmartTransactionObject
MongoResourceHolder. Used as transaction object by
 ReactiveMongoTransactionManager.ReactiveMongoResourceHolder| Modifier and Type | Method and Description | 
|---|---|
| reactor.core.publisher.Mono<Void> | abortTransaction()Rollback (abort) the transaction. | 
| reactor.core.publisher.Mono<Void> | commitTransaction()Commit the transaction. | 
| void | flush() | 
| com.mongodb.reactivestreams.client.ClientSession | getSession() | 
| boolean | isRollbackOnly() | 
public reactor.core.publisher.Mono<Void> commitTransaction()
public reactor.core.publisher.Mono<Void> abortTransaction()
@Nullable public com.mongodb.reactivestreams.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.