Package io.micronaut.data.mongodb.advice
Interface ContexualClientSession
- All Superinterfaces:
- AutoCloseable,- com.mongodb.client.ClientSession,- com.mongodb.session.ClientSession,- Closeable
@EachBean(MongoConnectionOperations.class)
@Internal
public interface ContexualClientSession
extends com.mongodb.client.ClientSession
Allows injecting a 
ClientSession instance as a bean with any methods invoked
 on the connection being delegated to connection bound to the current transaction.- Since:
- 3.3
- Author:
- Denis Stepanov
- 
Method SummaryMethods inherited from interface com.mongodb.client.ClientSessionabortTransaction, commitTransaction, getPinnedServerAddress, getTransactionOptions, hasActiveTransaction, notifyMessageSent, notifyOperationInitiated, startTransaction, startTransaction, withTransaction, withTransactionMethods inherited from interface com.mongodb.session.ClientSessionadvanceClusterTime, advanceOperationTime, clearTransactionContext, close, getClusterTime, getOperationTime, getOptions, getOriginator, getRecoveryToken, getServerSession, getSnapshotTimestamp, getTransactionContext, isCausallyConsistent, setRecoveryToken, setSnapshotTimestamp, setTransactionContext