Class ComputeDigestHelper


  • public class ComputeDigestHelper
    extends Object
    Helper class to compute and replace a blob digest.
    Since:
    11.5
    • Constructor Detail

      • ComputeDigestHelper

        public ComputeDigestHelper​(String blobProviderId,
                                   String key)
    • Method Detail

      • computeAndReplaceDigest

        public void computeAndReplaceDigest()
      • replaceDigestAllRepositories

        protected void replaceDigestAllRepositories()
      • replaceDigest

        protected void replaceDigest​(String repositoryName)
      • replaceDigest

        protected void replaceDigest​(CoreSession session)
      • newTransaction

        public static void newTransaction()
        Commits and starts a new transaction with a custom timeout.
        Since:
        2023.12
      • getTransactionTimeout

        public static int getTransactionTimeout()
        Gets the transaction timeout in second.
        Since:
        2023.12