@FunctionalInterface public interface MongoSessionProvider
ClientSession to be consumed by
MongoOperations and MongoDB native operations that support causal
consistency and transactions.| Modifier and Type | Method and Description |
|---|---|
com.mongodb.client.ClientSession |
getSession(com.mongodb.ClientSessionOptions options)
Obtain a
ClientSession with with given options. |
com.mongodb.client.ClientSession getSession(com.mongodb.ClientSessionOptions options)
ClientSession with with given options.options - must not be null.DataAccessExceptionCopyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.