Uploaded image for project: 'Apache Jena'
  1. Apache Jena
  2. JENA-1483

Allow different promote() modes.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Done
    • None
    • Jena 3.7.0
    • None
    • None

    Description

      This follows on from JENA-1458.

      In the previous work, there is one promote operation, promote(), that takes the transaction type to determine whether to promote with or without "read commits" effects.

      This ticket introduces promote(Promote mode) where the mode can be given explicitly.

      promote() becomes a default method of the interface that chooses the promote mode based on the way the transaction was started.

      This ticket also changes promote to return boolean false, and leave the transaction still valid, if an attempt is made to promote a read-only transaction. This is more uniform between the transaction type and any intermediate writer blocking promotion in READ_PROMOTE.

      Attachments

        Issue Links

          Activity

            People

              andy Andy Seaborne
              andy Andy Seaborne
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: