Uploaded image for project: 'Couchbase Java Client'
  1. Couchbase Java Client
  2. JCBC-2103

Make CollectionSpec.maxExpiry() nullable

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Won't Do
    • Major
    • None
    • None
    • None
    • None
    • 1
    • SDK42

    Description

      Suggested release note:

      The `CollectionSpec.maxExpiry()` method now returns null instead of `Duration.ZERO` when the collection does not have a max TTL. (NOTE: This method remains part of the SDK's volatile API, meaning it can change without notice in any release, until it is promoted to the committed API.)

       

      Making this field nullable so `updateCollection()` can be used to remove the maxTTL by sending a value of Zero. 

      Attachments

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

        Activity

          People

            david.nault David Nault
            david.nault David Nault
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty