Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-4528

Clarify the API documentation for Client Sessions

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Backlog
    • Unknown
    • Resolution: Unresolved
    • None
    • None
    • Reactive Streams
    • None

    Description

      The com.mongodb.reactivestreams.client.ClientSession documentation does not meet the requirements in the client session specification:

      ClientSession instances are not thread safe or fork safe. They can only be used by one thread or process at a time.

      Drivers MUST document the thread-safety and fork-safety limitations of sessions.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ross@mongodb.com Ross Lawley
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: