Interface SessionConfigurable<T extends SessionConfigurable<T>>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      com.mongodb.client.ClientSession clientSession()
      The client session to use for the insertion.
      T clientSession​(com.mongodb.client.ClientSession clientSession)
      Set the client session to use for the insert.
    • Method Detail

      • clientSession

        T clientSession​(com.mongodb.client.ClientSession clientSession)
        Set the client session to use for the insert.
        Parameters:
        clientSession - the client session
        Returns:
        this
        Since:
        2.0
      • clientSession

        @Nullable
        com.mongodb.client.ClientSession clientSession()
        The client session to use for the insertion.
        Returns:
        the client session
        Since:
        2.0