Interface CompressionAlgorithmConfiguration

All Known Implementing Classes:
Bzip2, Gz, Lz4, Lzo, NoCompression, Snappy, ZStandard

public interface CompressionAlgorithmConfiguration
  • Method Details

    • getName

      String getName()
      Returns:
      algorithm alias
    • getCodecClassName

      String getCodecClassName()
      Returns:
      name of property that can be specified in configuration or in system properties to override class name of codec
    • getCodecClassNameProperty

      String getCodecClassNameProperty()
      Returns:
      fully qualified class name of codec
    • getDefaultBufferSize

      int getDefaultBufferSize()
      Returns:
      default buffer size for compression algorithm
    • getBufferSizeProperty

      String getBufferSizeProperty()
      Returns:
      name of property that can be specified in configuration or in system properties to override default buffer size
    • cacheCodecsWithNonDefaultSizes

      default boolean cacheCodecsWithNonDefaultSizes()
      Returns:
      true if codecs with non-default buffer sizes should be cached