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

SDK3: Sort out naming of expiration

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 3.0.0-beta.1
    • None
    • None
    • None
    • 1

    Description

      Spotted by the ever-vigilant James Flather, we have

      getOptions().withExpiration(true) 

      But also

       collection.replace( "my-document",
       json, replaceOptions().expiry(found.expiration().get())

      e.g. expiry vs expiration.

      The RFC says expiration consistently, but James has raised it would be good to sync up with Sync Gateway here, that uses expiry.  Related discussion is here https://couchbase.slack.com/archives/CCX40TL9F/p1567701658038700

      Attachments

        Activity

          People

            graham.pople Graham Pople
            graham.pople Graham Pople
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              PagerDuty