Class DigestConfiguration

java.lang.Object
org.nuxeo.ecm.core.blob.PropertyBasedConfiguration
org.nuxeo.ecm.core.blob.DigestConfiguration

public class DigestConfiguration extends PropertyBasedConfiguration
Configuration for the digest.
Since:
11.1
  • Field Details

    • DIGEST_ALGORITHM_PROPERTY

      public static final String DIGEST_ALGORITHM_PROPERTY
      See Also:
    • DIGEST_ASYNC_PROPERTY

      public static final String DIGEST_ASYNC_PROPERTY
      Since:
      11.5
      See Also:
    • DIGEST_MAX_SIZE_PROPERTY

      public static final String DIGEST_MAX_SIZE_PROPERTY
      Maximum blob size in bytes for digest computation. Blobs larger than this get a UUIDv7 key instead of a content-based digest. Accepts byte size strings like 5g, 500m. Default: unset (no threshold).
      Since:
      2025.19
      See Also:
    • DEFAULT_DIGEST_ALGORITHM

      public static final String DEFAULT_DIGEST_ALGORITHM
      See Also:
    • digestAlgorithm

      public final String digestAlgorithm
    • digestPattern

      @Deprecated public final Pattern digestPattern
      Deprecated.
      since 11.5, use KeyStrategyDigest instead
    • digestAsync

      public final boolean digestAsync
      Since:
      11.5
    • digestMaxSize

      public final ByteSize digestMaxSize
      Maximum blob size for digest computation. ByteSize.unlimited() means no threshold (always use digest keys).
      Since:
      2025.19
  • Constructor Details

    • DigestConfiguration

      public DigestConfiguration(String digestAlgorithm)
    • DigestConfiguration

      public DigestConfiguration(String systemPropertyPrefix, Map<String,String> properties)
  • Method Details