Interface MongoSessionProvider

All Known Subinterfaces:
MongoDatabaseFactory
All Known Implementing Classes:
MongoDatabaseFactorySupport, SimpleMongoClientDatabaseFactory
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface MongoSessionProvider
A simple interface for obtaining a ClientSession to be consumed by MongoOperations and MongoDB native operations that support causal consistency and transactions.
Since:
2.1
Author:
Christoph Strobl