Interface SessionCallback<T>

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 SessionCallback<T>
Callback interface for executing operations within a ClientSession.
Since:
2.1
Author:
Christoph Strobl
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Execute operations against a MongoDB instance via session bound MongoOperations.