Uploaded image for project: 'Couchbase .NET client library'
  1. Couchbase .NET client library
  2. NCBC-761

Allow CloseBucket behavior on IBucket in addition to ICluster

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Won't Fix
    • Minor
    • None
    • None
    • library
    • None

    Description

      The ICluster interface has the CloseBucket() method, which is the only way to cleanly release bucket resources. If the bucket is opened and used for an extended time (eg. Repository pattern), instances of both the Cluster and Bucket have to be held, though the only reason to keep the Cluster around is to eventually close the bucket. If the Bucket had it's own Close() method, only one handle would be required. This assumes there isn't some other reason the Cluster needs to be held open.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jmorris Jeff Morris
            Scotch Scotch
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty