Class MongoDBTransaction

java.lang.Object
com.kingsrook.qqq.backend.core.actions.QBackendTransaction
com.kingsrook.qqq.backend.module.mongodb.actions.MongoDBTransaction
All Implemented Interfaces:
AutoCloseable

public class MongoDBTransaction extends QBackendTransaction
MongoDB implementation of backend transaction. Stores a mongoClient and clientSession. Also keeps track of if the specific mongo backend being used supports transactions, as, it appears that single-node instances do not, and they throw errors if you try to do transaction operations in them... This is configured by the corresponding field in the backend metaData.