Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-18246

A few TransientStore improvements

    XMLWordPrintable

    Details

      Description

      • Get rid of AbstractTransientStore#decrementStorageSize as we can always use AbstractTransientStore#incrementStorageSize even with negative values.
      • Factorize code like (RedisTransientStore):
                    if (sizeOfBlobs > 0) {
                        incrementStorageSize(sizeOfBlobs);
                    }
        

        inside AbstractTransientStore#incrementStorageSize to avoid delegating this test to the caller.

      • Add a TransientStore#putBlobsAndParams / TransientStore#getBlobsAndParams API to be able to write / read blobs and parameters in an atomic way? Could be useful when manipulating a BlobHolder like in the TransientStoreWork.
        This will require the use of a Redis transaction like for NXP-18236.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ataillefer Antoine Taillefer
                Reporter:
                ataillefer Antoine Taillefer
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:

                  PagerDuty

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.