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

Make RawBsonDocument implement Closeable

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • API, BSON
    • None

    Description

      Currently RawBsonDocument just has a byte[] so there is no need to close it. But in the future it might be given a slice of a larger buffer that is checked out of the buffer pool. In that case, making RawBsonDocument Closeable will allow it to release its reference to the slice.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jeff.yemin@mongodb.com Jeffrey Yemin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: