Package dev.morphia.transactions
Interface MorphiaSession
-
- All Superinterfaces:
AdvancedDatastore
,AutoCloseable
,ClientSession
,ClientSession
,Closeable
,Datastore
- All Known Implementing Classes:
MorphiaSessionImpl
public interface MorphiaSession extends AdvancedDatastore, ClientSession
Wraps a ClientSession reference for convenient use of MongoDB's multidocument transaction support.
-
-
Method Summary
-
Methods inherited from interface dev.morphia.AdvancedDatastore
createAggregation, createQuery, createRef, createRef, createUpdateOperations, insert, insert, queryByExample
-
Methods inherited from interface com.mongodb.client.ClientSession
abortTransaction, commitTransaction, getPinnedServerAddress, getTransactionOptions, hasActiveTransaction, notifyMessageSent, notifyOperationInitiated, startTransaction, startTransaction, withTransaction, withTransaction
-
Methods inherited from interface com.mongodb.session.ClientSession
advanceClusterTime, advanceOperationTime, clearTransactionContext, close, getClusterTime, getOperationTime, getOptions, getOriginator, getRecoveryToken, getServerSession, getSnapshotTimestamp, getTransactionContext, isCausallyConsistent, setRecoveryToken, setSnapshotTimestamp, setTransactionContext
-
Methods inherited from interface dev.morphia.Datastore
aggregate, aggregate, createAggregation, createQuery, createUpdateOperations, delete, delete, delete, delete, enableDocumentValidation, ensureCaps, ensureIndexes, find, find, find, find, findAndDelete, findAndDelete, findAndModify, findAndModify, getCodecRegistry, getCollection, getDatabase, getLoggedQuery, getMapper, insert, insert, insert, insert, merge, merge, merge, queryByExample, refresh, replace, replace, replace, replace, save, save, save, save, save, save, save, shardCollections, startSession, startSession, update, update, withTransaction, withTransaction
-
-