Class LZ4Legacy.Builder

java.lang.Object
io.activej.common.builder.AbstractBuilder<LZ4Legacy.Builder,LZ4Legacy>
io.activej.csp.process.frame.impl.LZ4Legacy.Builder
All Implemented Interfaces:
io.activej.common.builder.Builder<LZ4Legacy>, io.activej.common.initializer.WithInitializer<LZ4Legacy.Builder>
Enclosing class:
LZ4Legacy

public final class LZ4Legacy.Builder extends io.activej.common.builder.AbstractBuilder<LZ4Legacy.Builder,LZ4Legacy>
  • Method Details

    • withLZ4Factory

      public LZ4Legacy.Builder withLZ4Factory(net.jpountz.lz4.LZ4Factory factory)
    • withHashFactory

      public LZ4Legacy.Builder withHashFactory(net.jpountz.xxhash.XXHashFactory factory)
    • withHighCompression

      public LZ4Legacy.Builder withHighCompression()
    • withCompressionLevel

      public LZ4Legacy.Builder withCompressionLevel(int compressionLevel)
    • withIgnoreMissingEndOfStream

      public LZ4Legacy.Builder withIgnoreMissingEndOfStream(boolean ignore)
    • withLegacyChecksum

      @Deprecated public LZ4Legacy.Builder withLegacyChecksum(boolean legacyChecksum)
      Deprecated.
      Whether streaming hash will be used as a Checksum, same as in LZ4 library stream encoder/decoder

      Useful for interoperation with LZ4BlockOutputStream and LZ4BlockInputStream

    • doBuild

      protected LZ4Legacy doBuild()
      Specified by:
      doBuild in class io.activej.common.builder.AbstractBuilder<LZ4Legacy.Builder,LZ4Legacy>